Network discovery of Zabbix automation

Source: Internet
Author: User
Tags snmp

This period of time in the study of Zabbix monitoring, considering a problem, is that when our machines are very few, we can manually add the agent way, one by one to add. So now the demand comes out, if we say that we have hundreds of machines on the network to do, we need to add a host, group, add monitoring template, if a one to add you will be crazy, fortunately, Zabbix automatic discovery function is very powerful, can save us a lot of things.

Conditions based on the discovery rule:

1. IP Address Segment

2, server-based, such as FTP, SSH, web, etc.

3, based on zabbix-agent

4. There is also SNMP


Configuration steps:

1, first server side, we want to turn on SNMP and fping find way:

Startsnmptrapper=1

Fpinglocation=/usr/sbin/fping

2. Restart the service and install Fping

[email protected] ~]# Yum install fping-y

3. Web Interface configuration:

Configure---Explore---) create discovery rules:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6B/FC/wKiom1U8gijjjChXAAE6i5_a940177.jpg "title=" Zabbix 1.png "alt=" Wkiom1u8gijjjchxaae6i5_a940177.jpg "/>

#我上面创建了一条server rules for access. You'll use it later, and then check how IP addresses are selected here:

4. Configure---Select Explore----to create an action:

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6B/FC/wKiom1U8grCDknRbAADHS9sJqCE960.jpg "title=" Zabbix2.png "alt=" Wkiom1u8grcdknrbaadhs9sjqce960.jpg "/>

Conditions section:

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/6B/FC/wKiom1U8gtuwnBVvAAD1_1ZJceI399.jpg "title=" Zabbix3.png "alt=" Wkiom1u8gtuwnbvvaad1_1zjcei399.jpg "/>

# # #选择探索规则为, I just created the rule:

Operation section:

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/6B/F8/wKioL1U8hHzCch8kAADLTbdY9SE571.jpg "title=" Zabbix4.png "alt=" Wkiol1u8hhzcch8kaadltbdy9se571.jpg "/>

#这里我创建的条件是, adding to the group: monitor. and associated templates for Linux:


Here the automated discovery has been added, and then the server will automatically find out and look at the effect:

Selection: Detection of ———) exploration

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/6B/F8/wKioL1U8hOSzLPJNAAE6zzBF4eg465.jpg "title=" Zabbix5.png "alt=" Wkiol1u8hoszlpjnaae6zzbf4eg465.jpg "/>

You can see that the host has been added.

This article is from the "Little Luo" blog, please be sure to keep this source http://xiaoluoge.blog.51cto.com/9141967/1638593

Network discovery of Zabbix automation

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.