Memory Graph not available for Linux servers

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
naranant
Posts: 90
Joined: Tue Oct 24, 2017 10:50 am

Memory Graph not available for Linux servers

Post by naranant »

Hello,

Need help with performance graph for the memory usage for the Linux servers. The data is not getting recorded as it is not reflecting any changes in the value. This is started happening after using the new script for the memory.

I am attaching both the screenshot of the graph as well as the memory script we are using. Please help in troubleshooting this issue

This is the command we are using.

check_nrpe!check_memory! -a '-w 10 -c 5 -n'
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Memory Graph not available for Linux servers

Post by scottwilkerson »

If you change the plugin for the memory you need to remove the current performance data because the new script likely has different performace metrics and they would need to be exactly the same

to remove the old performance data you need to move or delete the old files, and they are named in a structure like this

/usr/local/nagios/share/perfdata/HOSTNAME/SERVICENAME.*

so to move the PING service from localhost to /tmp I would run the following

Code: Select all

mv /usr/local/nagios/share/perfdata/localhost/PING.* /tmp
Now the next time the service runs 2 times it will create a new .xml and .rrd file with the performance metrics
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked