O & M monitoring Nagios: start the service

Source: Internet
Author: User

NagiosStartup and detection are as follows:

 

Figure-Nagios

 1. Check Configuration: Nagios verification is very accurate. If you cannot start nagios correctly, you can find the answer from the error output.

/Usr/local/nagios/bin/nagios-v/usr/local/nagios/etc/nagios. cfg

Reading configuration data...

Running pre-flight check on configuration data...

...............

Total Warnings: 0

Total Errors: 0

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

2. Start nagios

/Usr/local/nagios/bin/nagios-d/usr/local/nagios/etc/nagios. cfg

3. Check monitoring results.Now we have monitored the Local web service, but since the apache service has not been started up, so after a moment, we will normally receive emails and SMS alerts; after we get apache services up, we should be able to receive alarm messages and emails that have been restored to the service.

4. Create a web verification user.Create a user based on the authentication method of the apache configuration file:

/Usr/local/apache/bin/htpasswd-c/usr/local/nagios/etc/htpasswd sery

5. Start the apache serviceIn the browser address bar of another machine, enter http: // 59.26.240.63/nagios, and then enter the user name and password generated in step 4, you can view the current status of the monitoring system on the web page (the screen is automatically refreshed by the browser), as shown in:

Through articles and images, we can see the specific operations of O & M monitoring Nagios!

Related Article

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.