Re: 126 Out of bounds
Posted: Wed Feb 12, 2014 3:45 pm
What is the output of the following command?
BTW, the check is working for me just fine... Here's what I have:
Code: Select all
grep USER1 /usr/local/nagios/etc/resource.cfgCode: Select all
define command{
command_name check_link
command_line $USER1$/check_link -H $HOSTADDRESS$
}Code: Select all
define service{
use generic-service
host_name localhost
service_description Link Status
check_command check_linkCode: Select all
[root@localhost libexec]# ./check_link
test-ok