Page 3 of 3
Re: Graphs not showing in Dashboard
Posted: Tue Dec 27, 2016 4:01 pm
by dwhitfield
rm /usr/local/nagios/share/perfdata/crgnas1.bose.com/Check_Volumes.rrd should get rid of the rrd file, but note that means you lose this data. The rrd file should recreate itself.
You could also just mv the rrd file and then it should also start repopulating.
Please let us know if you have any questions about this.
Re: Graphs not showing in Dashboard
Posted: Tue Dec 27, 2016 4:05 pm
by avandemore
You may also find this information helpful if you want to preserve the existing data with the newly generated rrd file:
http://osdir.com/ml/db.rrdtool.user/200 ... 00115.html
Re: Graphs not showing in Dashboard
Posted: Wed Dec 28, 2016 9:33 am
by bosecorp
We renamed the rrd file but it was not creating another file....so we had to manually re-create it and still graphs are not showing.
Re: Graphs not showing in Dashboard
Posted: Wed Dec 28, 2016 11:51 am
by tgriep
Lets turn on debugging for the process_perfdata command and see if we can get any details on why the data is not populating the graph.
Edit this file
Code: Select all
/usr/local/nagios/etc/pnp/process_perfdata.cfg
Change the following from
to
Save the file and restart nagios by running
Then delete both of the .xml and .rrd files bu running
Code: Select all
rm /usr/local/nagios/share/perfdata/crgnas1.bose.com/Check_Volumes.rrd
rm /usr/local/nagios/share/perfdata/crgnas1.bose.com/Check_Volumes.xml
Let the system run that check a few times and upload the following log file so we can see the errors on why it is not recreating the graphs for you.
Code: Select all
/usr/local/nagios/var/perfdata.log
Re: Graphs not showing in Dashboard
Posted: Wed Dec 28, 2016 1:22 pm
by bosecorp
I have enabled the Log kevel to 2 and moved the rrd and xml files to tmp directory.
Re: Graphs not showing in Dashboard
Posted: Wed Dec 28, 2016 3:39 pm
by dwhitfield
if /usr/local/nagios/var/perfdata.log is too large to upload, tail -100 /usr/local/nagios/var/perfdata.log will likely be enough.
Make sure the check runs a few times before uploading the log.
Re: Graphs not showing in Dashboard
Posted: Sun Jan 01, 2017 7:23 pm
by bosecorp
we fixed the issue by using a different plug in
you can close this post.
Re: Graphs not showing in Dashboard
Posted: Tue Jan 03, 2017 10:03 am
by dwhitfield
It might be useful for others to know which plugin you used. Glad you found something working!