Discovering hosts
A third way to link templates to hosts is to let the server do it automatically by combining Zabbix's host-discovery facility with discovery actions.
Zabbix's discovery facilities consist of a set of rules that periodically scan the network to look for new hosts or disappearing ones according to predetermined conditions.
The three methods that Zabbix can use to check for new or disappeared hosts, given an IP range, are:
The availability of a Zabbix agent
The availability of an SNMP agent
Response to simple external checks (FTP, SSH, and so on)
These checks can also be combined, as illustrated in the following example:
As you can see, when enabled, this rule will check every hour in the IP range 192.168.1.1-255
for any server that:
Responds to an ICMP ping probe
Has a correctly configured Zabbix agent that will return a value when asked for the
system.uname
itemHas an SMTP listening port, which is usually associated with a mail server
As usual, with all things Zabbix, a discovery...