check_nagios command not picking up nagios process
Jason Lixfeld
jason+lists.nagios at lixfeld.ca
Thu Mar 4 08:49:23 CET 2004
Pulled the command out of the cgi.cfg and ran it manually after the web
interface wasn't seeing the nagios process as running:
su-2.05b# /usr/local/libexec/nagios/check_nagios -F
/var/spool/nagios/status.log -e 5 -C '/usr/local/bin/nagios -d
/usr/local/etc/nagios/nagios.cfg'
Could not locate a running Nagios process!
su-2.05b# ps xa|grep "/usr/local/bin/nagios -d
/usr/local/etc/nagios/nagios.cfg"
8519 ?? Ss 0:00.10 /usr/local/bin/nagios -d
/usr/local/etc/nagios/nagios.cfg
8950 p0 S+ 0:00.00 grep /usr/local/bin/nagios -d
/usr/local/etc/nagios/nagios.cfg
su-2.05b# file /var/spool/nagios/status.log
/var/spool/nagios/status.log: ASCII text
su-2.05b#
I couldn't find any documentation on this problem except for pointers
mentioning "checking the syntax of the check command by running a PS to
find the exact command" which I have done, as you can see above.
What am I doing wrong?
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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