RRDtool Graphs
From SolusVM
Contents |
Introduction
From version 1.2.07 onwards, SolusVM supports RRDtool graphing. As standard the graphing will work without modification, however there is some advanced settings that can be made using the new Advanced Configuration also introduced in version 1.2.07.
Advanced Configuration
HHD Activity Monitoring
As standard SolusVM will search for your hard drive layout i.e sda & sdb, however you can overide this and define your own disks & partitions using the Advanced Configuration file.
An example of mointoring partitions instead of whole disks:
I want to monitor the / & /vz partitions so / is sda1 and /vz is sda2
Add this line to the advanced.conf on the host you want to monitor:
HDD="sda1,sda2"
You may need to delete any unused .rrd files on your master in /usr/local/solusvm/data/rrd/host/<Node_ID>/hdd because SolusVM will still graph them.
Host Public Interface
SolusVM assumes your public interface is eth0 and will attempt to collect data from it to produce the host traffic graph. If you use a different public interface i.e eth1 you can overide the default by adding an entry to the Advanced Configuration file on that host.
An example of overiding the interface to eth1:
INTERFACE="eth1"
Troubleshooting
If your graphs are failing to generate, try this in SSH on the master:
yum install cairo-devel libxml2-devel pango-devel pango libpng-devel freetype freetype-devel libart_lgpl-devel
Credits
We would like to personally thank Tobias Oetiker for RRDtool and all his hard work in helping us understand and optimize this great graphing solution.
