Gathering performance data from check_nrpe check mem
Posted: Mon Jun 27, 2011 9:46 am
Hi, I'm using NRPE with a NSClient install on a 64bit Win 2008 server to gather memory info. The check works fine, but I'm unable to graph the resulting data in Nagios XI.
The command in use is:
$USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c CheckMEM -a MaxWarn=$ARG1$% MaxCrit=$ARG2$% ShowAll=long type=physical
Run at the command line on the Nagios server I get the following:
CRITICAL: physical memory: Total: 4G - Used: 3.63G (90%) - Free: 380M (10%) > critical|'physical memory %'=90%;80;90; 'physical memory'=3.62G;3.19;3.59;0;3.99;
In Nagios XI, the output under the service advanced tab is:
Performance Data: 'physical memory %'=87%;90;95; 'physical memory'=3.48G;3.59;3.79;0;3.99;
"No performance graphs were found for this service."
I wonder if you can help me troubleshoot this? How can I graph this data?
The setup is Nagios XI running on CentOS in VMPlayer on a windows PC. The installation is based on a 2 week old download so is fairly recent.
Many thanks
Stephen
The command in use is:
$USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c CheckMEM -a MaxWarn=$ARG1$% MaxCrit=$ARG2$% ShowAll=long type=physical
Run at the command line on the Nagios server I get the following:
CRITICAL: physical memory: Total: 4G - Used: 3.63G (90%) - Free: 380M (10%) > critical|'physical memory %'=90%;80;90; 'physical memory'=3.62G;3.19;3.59;0;3.99;
In Nagios XI, the output under the service advanced tab is:
Performance Data: 'physical memory %'=87%;90;95; 'physical memory'=3.48G;3.59;3.79;0;3.99;
"No performance graphs were found for this service."
I wonder if you can help me troubleshoot this? How can I graph this data?
The setup is Nagios XI running on CentOS in VMPlayer on a windows PC. The installation is based on a 2 week old download so is fairly recent.
Many thanks
Stephen