Nagios Contact Mailbox error causes Nagios to fail to start

Source: Internet
Author: User

whoops!

Error:could not read host and service status information!

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

Some Other things your 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!


Make sure your 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 is found at http://www.nagios.org.


As above error.


Perform a check command

This command is in the Nagios installation directory/bin directory
./nagios-v. /etc/nagios.cfg

Error:could not "find any" matching ' cookie ' (config file '/usr/local/nagios/etc/objects/contacts.cfg ', starting on Line 97)

Error:could not expand member contacts specified in Contactgroup (config file '/usr/local/nagios/etc/objects/contacts.cf G ', starting on line 97)

Error Processing Object Config files!

Error displaying Contact profile

Open Contacts.cfg

Check Line 97th:

97define contactgroup{

98 contactgroup_name Admins

Alias Nagios Administrators

Members of the XX,YY,COOKIE,ZZ

101}

There is a member named Cookie in the contact group, and there is no cookie in the contact defined above, so delete the cookie member in the group

Run the check command again

./nagios-v. /etc/nagios.cfg

Total warnings:0

Total errors:0


Things look okay-no serious problems were detected during the pre-flight check

No error message has been sent

Service Nagios start starts normally

Open the Nagios site to monitor the normal

Nagios Contact Mailbox error causes Nagios to fail to start

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.