NRPE mystery

farhan ahmed farhhanahmed at hotmail.com
Sat Nov 22 14:05:17 CET 2008


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20081123/19b0bbe6/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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=/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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


More information about the Users mailing list