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
Graph not working for Memory Usage plugin
-
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
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
<HOSTNAME> would be replaced with the host name this service is on
Memory_Usage would be replaced with the service description for this check
it can be found in a path like this
Code: Select all
rm -f /usr/local/nagios/share/perfdata/<HOSTNAME>/Memory_Usage.rrdMemory_Usage would be replaced with the service description for this check