Check_nrpe output
Posted: Thu May 08, 2014 5:34 am
Hi,
I've got a Windows server which is monitored by a NRPEproxy. The NRPE line in nrpe.conf is:
command[check_drive-servername]=/usr/lib/nagios/plugins/check_nrpe -H 10.10.10.10 -c CheckDriveSize -a Drive="C" MaxWarnUsed=89% MaxCritUsed=90%
In NagiosXi I have created a new service with a check_nrpe command and as argument "check_drive-servername". When I do a test (test Check Command) and I fill the NRPE proxy i receive an complete line:
OUTPUT: OK: All drives within bounds.|'C: %'=88%;89;90 'C:'=8.82GB;8.89;8.99;0;9.99 (the same as when I try on the command line of the proxy host. However, the output in NagiosXi Service Status is taken down in OUTPUT: "OK: All drives within bounds.". I am only interested in the second part after the pipe.
I've got a Windows server which is monitored by a NRPEproxy. The NRPE line in nrpe.conf is:
command[check_drive-servername]=/usr/lib/nagios/plugins/check_nrpe -H 10.10.10.10 -c CheckDriveSize -a Drive="C" MaxWarnUsed=89% MaxCritUsed=90%
In NagiosXi I have created a new service with a check_nrpe command and as argument "check_drive-servername". When I do a test (test Check Command) and I fill the NRPE proxy i receive an complete line:
OUTPUT: OK: All drives within bounds.|'C: %'=88%;89;90 'C:'=8.82GB;8.89;8.99;0;9.99 (the same as when I try on the command line of the proxy host. However, the output in NagiosXi Service Status is taken down in OUTPUT: "OK: All drives within bounds.". I am only interested in the second part after the pipe.