This one again but a different flavor
My service
Code: Select all
define service{
use generic-service
host_name TGCS011
service_description NSClient++ Version
servicegroups nsclients
check_command check_nrpe
}
Code: Select all
define command{
command_name check_nrpe
command_line /usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -t 60 -c $ARG1$ $ARG2$ $ARG3$ $ARG4$
}
In Nagios
TGCS011 NSClient++ Version UNKNOWN 02-18-2017 22:41:40 0d 0h 16m 32s 3/3 (No output returned from plugin)
When I run it from command line it works
root@tgcs017:/usr/local/nagios/etc/objects# /usr/lib/nagios/plugins/check_nrpe -H TGCS011 -t 30 -4
I (0,4,1,73 2012-12-17) seem to be doing fine...
All my other check_nrpe commands are working on this same computer
Any ideas?