Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Nagios help +Could not read host and service status information!

Discussion in 'General Discussion' started by asmar, Aug 25, 2005.

  1. asmar

    asmar Well-Known Member

    Jul 16, 2004
    Likes Received:
    Trophy Points:
    Hi guys,

    I did an installation of Nagios according to this url:

    Nagios is starting fine and I am getting no errors at all under logs.
    On the other hand I am getting the following error via the web interface:

    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.

    Logs have nothing at all.
    Veryfing the configuration returns no errors at all and both resource and cgi.cfg have the appropriate entries according to the tutorial.

    I have no idea how to solve this even though I searched for over 2 hours on google.

    Any help is much appretiate.


Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice