Some Memory Graphs Not Working

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
spcmidrange
Posts: 47
Joined: Fri Jun 15, 2012 12:54 pm

Some Memory Graphs Not Working

Post by spcmidrange »

Good Day

Seem to have a weird issue with this one. Using Nagios XI 5.5.2, the custom_check_mem check is not graphing on Redhat 6 servers, but is fine on RedHat 7 servers. Both servers are using a newest version of Nrpe as well, and the script is the exact same one between servers, and the performance data is coming in. But on the RHEL6 host, when i go to performance graphs for memory it says no data to show, but on a RHEL 7 it shows it fine

Also, i still have an older 5.2.5 NagiosXi in our environment, and both RHEL 6 and RHEL7 are showing the graphs properly using the same check.

Let me know if you need anything from me. Seems strange no graph for just this OS version...can only see the headercheck at the bottom of the script being different between the 2 os's but cant tell why it wont graph

Cheers!
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Some Memory Graphs Not Working

Post by tgriep »

If the number of performance datapoints for the plugin changed in the past, that will cause the graphs to stop populating as the database points are not the same as when the files were created.
The existing performance datafiles will have to be deleted so they can be recreated with the correct number of datapoints.

Go to this folder (replace hostname with the actual hostname)

Code: Select all

/usr/local/nagios/share/perfdata/hostname
Delete the .rrd and .xml file with the name of the service and that should allow them to be updated.
Wait for 15 minutes for them to update and check the graphs in the XI GUI.

Let us know how it works out.
Be sure to check out our Knowledgebase for helpful articles and solutions!
spcmidrange
Posts: 47
Joined: Fri Jun 15, 2012 12:54 pm

Re: Some Memory Graphs Not Working

Post by spcmidrange »

Thank you so much. That was it. Deleting the data and now the new points are coming in and graphing

Thanks again!
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Some Memory Graphs Not Working

Post by lmiltchev »

I am glad your issue has been resolved! I am closing this topic. If you have any further questions, please start a new thread.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked