<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<b>Hi All,<br>
<br>
Getting the following error message from the nagios web interface,</b><br>
<br>
<h1>Whoops!</h1>
<p><strong><font color="red">Error: Could not read host and service
status information!</font></strong></p>
<p>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. </p>
<p>Some other things you should check in order to resolve this error
include: </p>
<p>
</p>
<ol>
  <li>Check the Nagios log file for messages relating to startup or
status data errors. </li>
  <li>Always verify configuration options using the <b>-v</b>
command-line option before starting or restarting Nagios! </li>
  <li>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. </li>
</ol>
<b>If i do run the following command # ./nagios -v multinag.cfg i get
the following, </b><br>
<br>
root@rndpgt02 # ./nagios -v /opt/csw/nagios/etc/nagios.cfg<br>
<br>
Nagios 2.3.1<br>
Copyright (c) 1999-2006 Ethan Galstad (<a class="moz-txt-link-freetext" href="http://www.nagios.org">http://www.nagios.org</a>)<br>
Last Modified: 05-15-2006<br>
License: GPL<br>
<br>
Reading configuration data...<br>
<br>
Running pre-flight check on configuration data...<br>
<br>
Checking services...<br>
        Checked 95 services.<br>
Checking hosts...<br>
        Checked 5 hosts.<br>
Checking host groups...<br>
        Checked 2 host groups.<br>
Checking service groups...<br>
        Checked 0 service groups.<br>
Checking contacts...<br>
        Checked 2 contacts.<br>
Checking contact groups...<br>
<b>Warning: Contact group 'admin' is not used in any host/service
definitions or host/service escalations!</b><br>
        Checked 2 contact groups.<br>
Checking service escalations...<br>
        Checked 0 service escalations.<br>
Checking service dependencies...<br>
        Checked 0 service dependencies.<br>
Checking host escalations...<br>
        Checked 0 host escalations.<br>
Checking host dependencies...<br>
        Checked 0 host dependencies.<br>
Checking commands...<br>
        Checked 47 commands.<br>
Checking time periods...<br>
        Checked 4 time periods.<br>
Checking extended host info definitions...<br>
        Checked 5 extended host info definitions.<br>
Checking extended service info definitions...<br>
        Checked 0 extended service info definitions.<br>
Checking for circular paths between hosts...<br>
Checking for circular host and service dependencies...<br>
Checking global event handlers...<br>
Checking obsessive compulsive processor commands...<br>
Checking misc settings...<br>
<br>
Total Warnings: 1<br>
Total Errors:   0<br>
<br>
Things look okay - No serious problems were detected during the
pre-flight check<br>
root@rndpgt02 #<br>
<b><br>
What should be the location of the multinag.cfg file?<br>
</b><br>
</body>
</html>