1.1 Creating an Autodiscover rule
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/B1/wKioL1S4nQTiFrv7AAKSkLK4XCY728.jpg "title=" 1.png " alt= "Wkiol1s4nqtifrv7aaksklk4xcy728.jpg"/>
Parameter |
Description |
Name |
Unique name of the rule. For example, "Local network". |
Discovery by proxy |
What performs discovery: no proxy -Zabbix server is doing discovery <proxy name> -this proxy performs discovery |
IP range |
the range of IP addresses F or discovery. It May has the following formats: Single ip:192.168.1.33 Range of IP addresses:192.168.1.1-255 IP mask:192.16 8.4.0/24 Supported IP masks: /16-/30 for IPV4 addresses /112-/128 for IPv6 addresses list:192.168.1.1-255 , 192.168.2.1-100,192.168.2.200,192.168.4.0/24 Note : Each IP address should is included only once; has multiple rules for a single IP address can has unexpected behavior such as having deadlocks and/or duplicate hosts In the database. The same could happen if the hosts have the Samednsname is included in separate discovery rules. |
Delay (in sec) |
This parameter defines how often Zabbix would execute the rule. Delay is measured after the execution of previous discovery instance ends so there is no overlap. |
Checks |
Zabbix would use the this list of checks for discovery. Supported Checks:ssh, LDAP, Smtp,ftp, HTTP, HTTPS, POP, NNTP, IMAP, TCP, Telnet, Zabbix agent, SNMPV1 agent, SNMPV2 Agent , SNMPv3 agent, ICMP Ping. A protocol-based Discovery uses the net.tcp.service[] functionality to test each host, except for SNMP which Quer IES an SNMP OID. Zabbix agent is tested by querying an item. Please see the agent items for more details. The ' Ports ' parameter may is one of the following: Single port:22 Range of Ports:22-45 List:22-45,55,60-70 |
Device Uniqueness Criteria |
Criteria for uniqueness May: IP Address -no processing of multiple SINGLE-IP devices. If a device with the same IP already exists it would be considered already discovered and a new host would not be added. Type of Discovery Check -either SNMP or Zabbix agent check. |
Enabled |
With the check-box marked, the rule is active and would be executed by Zabbix server. If unmarked, the rule is not active. It won ' t be executed. |
1.2 Create auto-add to corresponding template rules
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/58/B4/wKiom1S4ntmCrDn6AAOVpUMwraA238.jpg "title=" 2.png " alt= "Wkiom1s4ntmcrdn6aaovpumwraa238.jpg"/>
1.3 Configuration created by discover_action
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/58/B1/wKioL1S4oQejIiwKAAK0w-4pWLg413.jpg "title=" 3.png " alt= "Wkiol1s4oqejiiwkaak0w-4pwlg413.jpg"/>
1.4 -->Conditions
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/B4/wKiom1S4oVnCh4Q9AALBx60m5Fs060.jpg "title=" 4.png " alt= "Wkiom1s4ovnch4q9aalbx60m5fs060.jpg"/>
1.5-->operations
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/B5/wKiom1S4rraDppDaAAKcBcD8bJM687.jpg "title=" 8.png " alt= "Wkiom1s4rradppdaaakcbcd8bjm687.jpg"/>
This article is from the "Linux Revolution" blog, so be sure to keep this source http://kaibinyuan.blog.51cto.com/7304008/1604748
Zabbix Learning (ii) Autodiscover host and add host