Zabbix-server Auto Discovery, Bulk add hosts, and link templates

Source: Internet
Author: User

Zabbix can manually add agent client, when the number of hosts more than a long time, then the manual duplication of work will greatly increase. Zabbix's auto-discovery feature can help us solve this problem.

Preparation conditions:

1. The monitored host is loaded with Zabbix-agent,

[Email protected] ~]# Netstat-tunlp|grep 10050
TCP 0 0 0.0.0.0:10050 0.0.0.0:* LISTEN 4697/zabbix_agentd
TCP6 0 0::: 10050:::* LISTEN 4697/zabbix_agentd

2. Iptables let go of 10050 ports and 10051 ports, I shut down here directly iptables

Configuration:

One, client changes/etc/zabbix/zabbix_agentd.conf file

[Email protected] ~]# grep-e ' ^server|^hostname '/etc/zabbix/zabbix_agentd.conf
server=192.168.0.195
serveractive=192.168.0.199
Hostname=node7
Second, Zabbix-server Web configuration
1. Create Discovery

2. Automatically add to Linux server and Hadoop_cluster Group, link template Linux os


See if a host joins

View Host List

The host discovery configuration was successful

Zabbix-server Auto Discovery, Bulk add hosts, and link templates

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.