Graphs not showing in Dashboard

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Graphs not showing in Dashboard

Post 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.
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Graphs not showing in Dashboard

Post 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
Previous Nagios employee
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Graphs not showing in Dashboard

Post 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.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Graphs not showing in Dashboard

Post 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

Code: Select all

LOG_LEVEL = 0
to

Code: Select all

LOG_LEVEL = 2
Save the file and restart nagios by running

Code: Select all

service nagios restart
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
Be sure to check out our Knowledgebase for helpful articles and solutions!
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Graphs not showing in Dashboard

Post by bosecorp »

I have enabled the Log kevel to 2 and moved the rrd and xml files to tmp directory.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Graphs not showing in Dashboard

Post 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.
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Graphs not showing in Dashboard

Post by bosecorp »

we fixed the issue by using a different plug in

you can close this post.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Graphs not showing in Dashboard

Post by dwhitfield »

It might be useful for others to know which plugin you used. Glad you found something working!
Locked