Graph not working for Memory Usage plugin

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
CentricIT
Posts: 16
Joined: Wed Dec 12, 2018 7:41 am

Graph not working for Memory Usage plugin

Post by CentricIT »

Hi,

check_nrpe plugin is not giving us a graph result on our Nagios.

We are creating a dashboard for all the services under the hosts, before that we have used the check_nt plugin to check the memory status.
currently, we are using the check_nrpe plugin to monitor memory usage, after using nrpe plugin we are unable to get the graphs in the dashboard.

Below command, we are using for the memory usage

$USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c CheckMEM -a MaxWarn=$ARG1$% MaxCrit=$ARG2$% ShowAll=long type=physical

kindly check and share with us the solution for it.

Regards,
CentricIT
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Graph not working for Memory Usage plugin

Post by scottwilkerson »

If you just changed the command from check_nt to check_nrpe you need to remove the old performance graph RRD file because once the command changes the number of datapoints will change

it can be found in a path like this

Code: Select all

rm -f /usr/local/nagios/share/perfdata/<HOSTNAME>/Memory_Usage.rrd
<HOSTNAME> would be replaced with the host name this service is on
Memory_Usage would be replaced with the service description for this check
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked