Nagios service configuration (1)

Source: Internet
Author: User

Nagios ServiceThe configuration is as follows:

 

Figure-Nagios

Custom Configuration

The configuration file of the sample is installed in the directory/usr/local/nagios/etc by default. You can configure Nagios to run the sample file properly. You only need to make a simple modification...

Use the editor software you are good at to edit this/usr/local/nagios/etc/objects/contacts. in the cfg configuration file, change the email information in the contact definition information of the e-mail address nagiosadmin to your EMail information to receive alerts.

Vi/usr/local/nagios/etc/objects/contacts. cfg

Configure WEB interfaces

Install the Nagios WEB configuration file to the conf. d directory of Apache.

Make install-webconf

Create a nagiosadmin user for logging on to Nagios WEB interface. Write down the logon password you set and you will use it later.

Htpasswd-c/usr/local/nagios/etc/htpasswd. users nagiosadmin

Restart the Apache service to make the settings take effect.

Service httpd restart


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.