check_disk is not working for remote host
Posted: Thu Sep 19, 2013 6:08 pm
Hi ,
my configuration in commands.cfg
define command {
command_name check_nrpe_1arg
command_line /usr/lib64/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -c $ARG1$
}
#remote monitor
define command{
command_name check_disk
command_line $USER1$/check_nrpe_1arg -H $HOSTADDRESS$ -c check_disk
}
Service.cfg
define service{
use generic-service
host_name remotehostname
service_description Disk Monitoring
contact_groups admins
#check_command check_nrpe!check_all_disks
check_command check_nrpe_1arg!check_disk
max_check_attempts 8
}
Verified check_disk working in remote host
From nagios I got following error
Disk Monitoring
CRITICAL 09-19-2013 15:58:17 0d 0h 36m 37s 8/8 (Return code of 127 is out of bounds - plugin may be missing)
Please help me in this regard.
Thanks
my configuration in commands.cfg
define command {
command_name check_nrpe_1arg
command_line /usr/lib64/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -c $ARG1$
}
#remote monitor
define command{
command_name check_disk
command_line $USER1$/check_nrpe_1arg -H $HOSTADDRESS$ -c check_disk
}
Service.cfg
define service{
use generic-service
host_name remotehostname
service_description Disk Monitoring
contact_groups admins
#check_command check_nrpe!check_all_disks
check_command check_nrpe_1arg!check_disk
max_check_attempts 8
}
Verified check_disk working in remote host
From nagios I got following error
Disk Monitoring
CRITICAL 09-19-2013 15:58:17 0d 0h 36m 37s 8/8 (Return code of 127 is out of bounds - plugin may be missing)
Please help me in this regard.
Thanks