Add host in icinga 1.9

Source: Internet
Author: User
Tags icinga

The Icinga1.9 is successfully installed on UBuntu12.10 server by compiling the host added to icinga 1.9. Apache2 is selected here, And Nginx is not completed yet. After opening the webpage, you can only view the monitored localhost, so you need to monitor other hosts. This function can be completed without a web UI. You need to operate on icinga server. Step 1: Create/usr/local/icinga/etc/objects/linux. the content of The cfg file is as follows: [plain] define host {use linux-server; Inherit default values from a template host_name StaticFileServer; The name we're giving to this host alias static filer server; A longer name associated with the host address 10.112.18.131; IP address of the host contact_groups admins; Host groups this host is associated with} pay attention to the value of contact_groups admi Ns is found in the/usr/local/icinga/etc/objects/contacts. cfg file. Step 2: Go to/usr/local/icinga/etc/icinga. add a line [plain] into _file =/usr/local/icinga/etc/objects/linux to the cfg file. step 3 of cfg, run the command to check the configuration: [html]/usr/local/icinga/bin/icinga-v/usr/local/icinga/etc/icinga. step 4 of cfg, re-read the configuration file: [plain] service icinga reload. Now go to the web page and check: Yes.

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.