check_nagios weirdness...

mjn <[email protected]> Mon, 23 Jun 2003 09:33:15 -0500 (CDT)
Newsgroups gmane.network.netsaint.user
Message-ID <[email protected]>
We recently had some issues using a University provided authentication
module for Nagios...some changes in mm and how are setup was configured.
Regardless of that, Nagios' web interface is once again working but now I
am seeing a strange problem.

Nagios web constantly shows that the process is not running...we had all
of the CGI's working in the past and `ps-aux|grep nagios' yields:

[09:02:36][root@monolith:/nagios] ps -aux |grep nagios
nagios    8622  0.0  0.8  2128 1136 ?        S    09:00   0:00 [nagios]

Watching 'Service Detail' i see services' 'Last Check' column updating as
expected.

I have checked cgi.conf and here is my active nagios_check_command:
nagios_check_command=/nagios/libexec/check_nagios /nagios/var/status.log \
5 '/nagios/bin/nagios'

In running this from the command line, i get:
Could not locate a running Nagios process!

Grep'ing status.log I find no hits on bin/nagios

Here is the restart output:
[09:32:36][root@monolith:/nagios/var] /etc/rc.d/init.d/nagios restart
Running configuration check...done
Stopping network monitor: nagios
Starting network monitor: nagios                           [  OK  ]
nagios (pid 12395) is running...

Anyone have any ideas on why the status isn't getting written to the log
or how I might determine why?

Also: is there any way to change notifications for a host/service if the
web interface is not working?

Thanks much!

--
_______________________________________________
Mike Neuharth
ADCS Technology Specialist
http://www.umn.edu/adcs
===============================================
E-Mail          : [email protected]
Page Mail       : [email protected]
_______________________________________________
"What is important, it seems to me, is not so much to defend a culture
 whose existence has never kept a man from going hungry, as to extract,
 from what is called culture, ideas whose compelling force is identical
 with that of hunger."  -Antonin Artaud


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php