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
Gathering performance data from check_nrpe check mem
-
- Posts: 2
- Joined: Mon Jun 27, 2011 9:29 am
-
- Posts: 2
- Joined: Mon Jun 27, 2011 9:29 am
Re: Gathering performance data from check_nrpe check mem
Actually, fixed this while awaiting post approval.
1) Upgraded to latest version of Nagios XI (not sure if this is relevant or not in the end)
2) Changed my service:
Check command: check_nrpe
Template name: xiwizard_nrpe_service
Command view: $USER1$/check_nrpe -H $HOSTADDRESS$ -t 30 -c $ARG1$ $ARG2$
$ARG1$: checkmem
$ARG2$: -a MaxWarn=80% MaxCrit=90% ShowAll=long type=physical

1) Upgraded to latest version of Nagios XI (not sure if this is relevant or not in the end)
2) Changed my service:
Check command: check_nrpe
Template name: xiwizard_nrpe_service
Command view: $USER1$/check_nrpe -H $HOSTADDRESS$ -t 30 -c $ARG1$ $ARG2$
$ARG1$: checkmem
$ARG2$: -a MaxWarn=80% MaxCrit=90% ShowAll=long type=physical

-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: Gathering performance data from check_nrpe check mem
Good deal! Thanks for the update!