Getting the following error message from the nagios web interface, *

Kevin Branagan Kevin.Branagan at infostream.com.au
Fri Aug 17 04:21:54 CEST 2007


*Hi All,

Getting the following error message from the nagios web interface,**


  Whoops!

*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.

**If i do run the following command # ./nagios -v multinag.cfg i get the 
following, **

root at rndpgt02 # ./nagios -v /opt/csw/nagios/etc/nagios.cfg

Nagios 2.3.1
Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org)
Last Modified: 05-15-2006
License: GPL

Reading configuration data...

Running pre-flight check on configuration data...

Checking services...
        Checked 95 services.
Checking hosts...
        Checked 5 hosts.
Checking host groups...
        Checked 2 host groups.
Checking service groups...
        Checked 0 service groups.
Checking contacts...
        Checked 2 contacts.
Checking contact groups...
*Warning: Contact group 'admin' is not used in any host/service 
definitions or host/service escalations!*
        Checked 2 contact groups.
Checking service escalations...
        Checked 0 service escalations.
Checking service dependencies...
        Checked 0 service dependencies.
Checking host escalations...
        Checked 0 host escalations.
Checking host dependencies...
        Checked 0 host dependencies.
Checking commands...
        Checked 47 commands.
Checking time periods...
        Checked 4 time periods.
Checking extended host info definitions...
        Checked 5 extended host info definitions.
Checking extended service info definitions...
        Checked 0 extended service info definitions.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 1
Total Errors:   0

Things look okay - No serious problems were detected during the 
pre-flight check
root at rndpgt02 #
**
What should be the location of the multinag.cfg file?*

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070817/cb4fd1f5/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
-------------- next part --------------
_______________________________________________
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