Please help nagios nrpe problem

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
ratotopi
Posts: 1
Joined: Mon Jan 23, 2012 12:44 pm

Please help nagios nrpe problem

Post by ratotopi »

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
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: Please help nagios nrpe problem

Post by jsmurphy »

What is the command definition for check_local_disk?
Locked