[Pkg-nagios-devel] Bug#288914: nagios-text: File /var/log/nagios/status.log is missing --> Error: Could not read host and service status information!
Tobias Krais <firstname.lastname@example.org>, email@example.com
Thu, 06 Jan 2005 11:36:14 +0100
When I install nagios and view it in my webbrowser I always get the
following failure message when I click on a link under Monitoring in the
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
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.
After I did a:
everything worked out fine.
I suggest adding the missing status.log file to the package.