Page 1 of 1

Some Memory Graphs Not Working

Posted: Mon May 06, 2019 12:48 pm
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!

Re: Some Memory Graphs Not Working

Posted: Mon May 06, 2019 2:33 pm
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.

Re: Some Memory Graphs Not Working

Posted: Tue May 07, 2019 2:24 pm
by spcmidrange
Thank you so much. That was it. Deleting the data and now the new points are coming in and graphing

Thanks again!

Re: Some Memory Graphs Not Working

Posted: Tue May 07, 2019 3:19 pm
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.