Here is the output when I run it from the host:
Code: Select all
# /usr/local/nagios/libexec/check_nrpe -H myhost -p 5666 -c check_load
OK - load average: 0.43, 0.76, 0.91|load1=0.430;15.000;30.000;0; load5=0.760;10.000;25.000;0; load15=0.910;5.000;20.000;0;
# echo $?
0 Code: Select all
COMMAND: /usr/local/nagios/libexec/check_nrpe -H myhost -t 30 -c check_load
OUTPUT: OK - load average: 0.32, 0.39, 0.67|load1=0.320;15.000;30.000;0; load5=0.390;10.000;25.000;0; load15=0.670;5.000;20.000;0;