Error: Could not read host and service status information

Lori Adams ladams at cloudmark.com
Thu Aug 25 00:08:57 CEST 2005


Have you tried killing off all nagios processes?  Make sure there are no
more, and then restart your nagios.  

 

Below is the error I get if nagios is not running. I assume you got this
entire message too.  Follow all instructions when setting up your
nagios.  More specifically make sure that you have a status.log (see
nagios.cfg).

 

Did you try all of these steps?  Definitely try /your/nagios/dir/nagios
-v to make sure there's no errors.

      

Error: Could not read host and service status information!

 

The most common cause of this error message (especially for new users),
is the fact that Nagios is not actually running. If Nagios is indeed not
running, this is a normal error message. It simply indicates that the
CGIs could not obtain the current status of hosts and services that are
being monitored. If you've just installed things, make sure you read the
documentation on starting Nagios.

 

Some other things you should check in order to resolve this error
include:

 

            1. Check the Nagios log file for messages relating to
startup or status data errors.

            2. Always verify configuration options using the -v
command-line option before starting or restarting Nagios!

3. Make sure you've compiled the main program and the CGIs to use the
same status data storage options (i.e. text file or database). If the
main program is storing status data in a text file and the CGIs are
trying to read status data from a database, you'll have problems. 

 

Make sure you read the documentation on installing, configuring and
running Nagios thoroughly before continuing. If all else fails, try
sending a message to one of the mailing lists. More information can be
found at http://www.nagios.org <http://www.nagios.org/> .

 

-Lori

 

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of James R.
Marcus
Sent: Wednesday, August 24, 2005 12:39 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Error: Could not read host and service status
information

 

 

I have been looking at old posts and the FAQ to find a solution to this

issue:

 

Error: Could not read host and service status information!

 

All I get in my log file is:

[1124913728] Warning: Contact group 'switch-admins' is not used in any

hostgroup/service definitions or host/hostgroup/service escalations!

[1124913728] Warning: Contact group 'win-admins' is not used in any

hostgroup/service definitions or host/hostgroup/service escalations!

[1124913728] Finished daemonizing... (New PID=6184)

 

I think I have done a pretty good job of reviewing permissions etc.

There are no errors in the Apache2 logs.

 

I'm running Gentoo, Nagios 1.2 and Monarch for configuration.

 

Can anyone point me to a better way of troubleshooting this issue?

 

 

Thanks,

James

 

 

-------------------------------------------------------

SF.Net email is Sponsored by the Better Software Conference & EXPO

September 19-22, 2005 * San Francisco, CA * Development Lifecycle
Practices

Agile & Plan-Driven Development * Managing Projects & Teams * Testing &
QA

Security * Process Improvement & Measurement *
http://www.sqe.com/bsce5sf

_______________________________________________

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050824/db953127/attachment.html>


More information about the Users mailing list