Nconf Creating an Nagios instance

Source: Internet
Author: User

Create Prerequisites

1, nconf, Nagios environment construction completed

2. Host Add complete


Requirements: Detection of http://192.168.1.1:8080/healthcheck.html availability


First, test command availability, and usage

Nagios defaults to a number of plugins (you can also write your own script definitions)

The default Check_http test is used here.


650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M01/97/05/wKiom1kn5Jiy0CaRAABxvuARF1o806.png "style=" float : none; "title=" Qq20170526160256.png "alt=" Wkiom1kn5jiy0caraabxvuarf1o806.png "/>

Test for usage


650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M01/97/06/wKioL1kn5JjhK2jpAAAvp-gXq6U479.png "style=" float : none; "title=" 1.png "alt=" Wkiol1kn5jjhk2jpaaavp-gxq6u479.png "/>


Note the correct results are returned according to the supplied parameters, and the test is successful


Ii. configuration command in nconf

First, check to see if there are any available command

650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M00/97/05/wKiom1kn5JjTEZUFAAAGTm9IL64477.png "style=" float : none; "title=" 2.png "alt=" Wkiom1kn5jjtezufaaagtm9il64477.png "/>


If there is a direct to the third part, if there is no manual add

650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M02/97/05/wKiom1kn5JmAlN2sAAD5MjobOVw304.png "style=" float : none; "title=" 3.png "alt=" Wkiom1kn5jmaln2saad5mjobovw304.png "/>

Third, nconf Configuration service

650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M01/97/05/wKiom1kn5nmglhSVAAA6w-fb05M961.png "title=" 4.png "alt=" Wkiom1kn5nmglhsvaaa6w-fb05m961.png "/>

650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M00/97/05/wKiom1kn5p6wHD2qAAAbArJ1Rcw305.png "title=" 5.png "alt=" Wkiom1kn5p6whd2qaaabarj1rcw305.png "/>


Note that there are only 2 parameters, which are different from the 3 parameters entered in the previous command line, because the first parameter is given when Nagios created the host, so it takes only 2 parameters to


Iv. Generating Nagios configuration files

650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M00/97/06/wKiom1kn5xnTtRTPAAA3Qo8k084801.png "title=" 6.png "alt=" Wkiom1kn5xnttrtpaaa3qo8k084801.png "/>

After the build can go to Nagios to see the final effect, time comparison may need to refresh several times

Nconf Creating an Nagios instance

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.