Hello,
 
Finally, resolved the mystery. I was running NRPE under root as nagios user and 
check_nrpe was returing exit value 0 in any case. 
 bash-3.00#/usr/local/sys/nrpe/bin/nrpe -c /usr/local/sys/nrpe/etc/nrpe.cfg
 
bash-3.00#ps -ef|grep nrpe nagios 3184 677 0 23:30:39 ? 0:00 
/usr/local/sys/nrpe/bin/nrpe -c /usr/local/sys/nrpe/etc/nrpe.cfg -d
 
What i did , login as nagios and start the NRPE and it fixed all the issues. 
 
bash-3.00# su - nagios
 
bash-3.00$/usr/local/sys/nrpe/bin/nrpe -c /usr/local/sys/nrpe/etc/nrpe.cfg
 
bash-3.00#ps -ef|grep nrpe
 
 
I still can't understand why it doesnt work when I start NRPE under root as 
nagios user. Could any one explain please explain?
 
Note: On all other my environments, I am running NRPE under root as nagios user
 
Thanks,
 
Farhan

 
_________________________________________________________________
Take a summer road trip with Windows Live Hotmail. Multiple prizes and the 
ultimate dream beach house!
http://www.ninemsn.com.au/hotmailroadtrip
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to