when I run the nrpe command from command line
/usr/lib/nagios/plugins/check_nrpe -H 192.168.1.24 -c check_local_disk
I am able to get the output
DISK CRITICAL - free space: / 1722 MB (6% inode=83%);| /=24075MB;21742;24460;0;27178
and echo $? also give outout 2
but when I check on Services in nagios webpage it shows status OK ( green) and status information is NRPE v2.12 always
this is what I have in services to check the same server
define service{
host_name remote-server
service_description root partition
check_command check_nrpe!check_local_disk
max_check_attempts 5
check_interval 2
retry_interval 3
check_period 24x7
notification_interval 30
notification_period 24x7
notification_options w,c,r
contacts ngadmin
}
and nagios -v nagios.cfg output for both Total Warnings and Total Errors is 0 and nagios was installed using yum.What am i doing wrong ?
thanks
Please help nagios nrpe problem
Re: Please help nagios nrpe problem
What is the command definition for check_local_disk?