check_nagios can't find running process
Shawn McCool
smccool at ascendantmedia.com
Thu Apr 3 06:00:44 CEST 2003
if you do a 'ps' as the user nagios runs as you need to be able to see the
nagios process.
If you can't, then find a command that will work. such as 'ps -ax'
If you edit your Makefile for the nagios plugins you can modify /bin/ps to
/bin/ps -ax or whatever command you need to run.
Then take the check_nagios script and modify the last arguement. For
example.
you can do
nagios_check_command=/usr/local/nagios/libexec/check_nagios >
/usr/local/nagios/var/status.log 10 'nagios -d'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030402/fc449eca/attachment.html>
More information about the Users
mailing list