"Monitoring process may not be running!" but it IS.

Marc Powell marc at ena.com
Tue Dec 16 20:16:21 CET 2003



> -----Original Message-----
> From: Maciej Soltysiak [mailto:solt at dns.toxicfilms.tv]
> Sent: Tuesday, December 16, 2003 12:08 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] "Monitoring process may not be running!" but
it
> IS.
> 
> Hi,
> 
> I set up nagios from debian packages, but I have a problem.
> 
> When I check nagios configuration it shows it has no
> warnings or errors, and I am able to run nagios and its
> process is running.
> 
> When I run http://myhostname/nagios it says:
> 
> Warning: Monitoring process may not be running!
> 
> But also it shows Process Information like
> uptime, last external check, and other options.
> 
> How come it says:
> process status: unknown
> Check Command Output:  Nagios check command did not return any output
> although the process is running and the services are being checked:
> I set up one gateway ping check and one SMTP check on an SMTP server.
> They return valid results, but still nagios says the process may not
be
> running.
> 
> The privileges for /var/log/nagios/rw are as in the docs.
> # ls -ld rw
> drwxrws---    2 nagios   nagios         80 Dec 16 18:38 rw
> 
> What could be wrong?

Have you tried running the nagios check command as specified in cgi.cfg
by hand, as the httpd user? It could be a permissions problem (httpd not
able to read status.log or something similar). Also, if you are storing
status data in a database you'll need to use check_nagios_db which is in
the plugins contrib directory I believe.

--
Marc



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&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