Page 1 of 1

Tip: Upgrade to 3.3: Graphs Missing

Posted: Thu Aug 23, 2012 6:11 am
by mikew
This post is only for those who are enhancing performance with rrdcached!

As I know more and more people are using performance enhancements for Nagios XI, you may find yourself having issues on upgrades. If this is the case, you will need to write a note for yourself to remember to check files and permissions after an upgrade to verify that nothing has changed. Here is an example with the upgrade for 3.3, performance graphs. After the upgrade you may notice that graphs have no content. First place to check is this file:

Code: Select all

ll /usr/local/nagios/var/spool/perfdata/
total 0
If it is empty and you are caching with rrdcached, then check to see that this file has not changed:

/etc/sysconfig/rrdcached

Code: Select all

#OPTIONS="-l unix:/var/rrdtool/rrdcached/rrdcached.sock -s rrdcached -m 664 -b /var/rrdtool/rrdcached"
#RRDC_USER=rrdcached
OPTIONS="-l unix:/var/rrdtool/rrdcached/rrdcached.sock -F -s nagios -m 0660 -w 900 -z 90 -j /tmp/ -b /var/rrdtool/rrdcached -P FLUSH,PENDING"
RRDC_USER=nagios
Indeed with this current upgrade it will be changed so comment out the top two lines and add those needed for caching. Once that is complete restart rrdcached, npcd and nagios.

You should see the journal in the /tmp directory telling you that the files are now being built.

rrd.journal.1345719311.093526