It appears as though Nagios is not running, so commands are temporarily unavailable...

Bob Amen amen at oreilly.com
Wed Mar 3 19:14:28 CET 2004


McWhirter,Julia wrote:
> I am running Nagios 1.2 and the web reports that nagios is not running
> although it is.
> 
> nagios 11305     1  0 12:44:44 ?        0:00
> /usr/local/nagios/1.2/bin/nagios -d /usr/local/nagios/1.2/etc/nagios.cfg
> 
> Running on Solaris 8.
> 
> Cgi.cfg has the following
> 
> nagios_check_command=/usr/local/nagios/1.2/libexec/check_nagios
> /usr/local/nagios/1.2/var/status.log 5
> '/usr/local/nagios/1.2/bin/nagios'
> 
> Any ideas why it does not know that nagios is running?

	Make sure that the status log (/usr/local/nagios/1.2/var/status.log) is 
readable by the user that the web server runs as and that the directory 
it's in is searchable. The CGI runs as the web server euid and needs to 
stat the status file. That was the problem I had when I first set up nagios.

HTH
Bob
-- 
				Bob Amen
			    O'Reilly Media, Inc.
			    http://www.ora.com/
			  http://www.oreilly.com/



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&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