Add check_mk inventory check Service

Source: Internet
Author: User
Tags icinga

Inventory is a monitoring service discovered by check_mk.

We can add a regular inventory check mechanism for all hosts to enable check_mk to automatically detect all hosts. If a new service can be monitored is found, a warning message will appear on the webpage.

The configuration is simple. Add two lines in the/etc/check_mk/Main. mk file:

Inventory_check_interval = 120inventory_check_severity = 1

Reference: http://mathias-kettner.de/checkmk_inventory_checks.html

120 minutes, that is, two hours of detection.

Then refresh the configuration and restart icinga:

Check_mk-uservice icinga restart

When you access the page, you will see an additional service under each host. You can click the refresh button to immediately check:

Okcheck_mk inventoryok-No unchecked services found4 min4 min

Command Line Detection Method:

Root @ icinga:/etc/check_mk # check_mk -- check-inventory 10.112.18.131ok-No unchecked services found

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.