自动发现主机条件详解

自动发现主机条件详解

Type of calculation

The following options of calculating conditions are available:

  • AND - all conditions must be met

  • OR - enough if one condition is met

  • AND/OR - combination of the two: AND with different condition types and OR with the same condition type, for example:

Host group = Oracle servers
Host group = MySQL servers
Trigger name like 'Database is down'
Trigger name like 'Database is unavailable'

is evaluated as

(Host group = Oracle servers orHost group = MySQL servers) and(Trigger name like 'Database is down' orTrigger name like 'Database is unavailable')

The following conditions can be set for discovery-based events:

Condition type Supported operators Description
Host IP =
<>
Specify an IP address range or a range to exclude for a discovered host.
= - host IP is in the range.
<> - host IP is not in the range.
Service type =
<>
Specify a service type of a discovered service or a service type to exclude.
= - matches the discovered service.
<> - does not match the discovered service.
Available service types: SSH, LDAP, SMTP,FTP, HTTP, HTTPS (available since Zabbix 2.2 version), POP, NNTP, IMAP, TCP, Zabbix agent, SNMPv1 agent, SNMPv2 agent, SNMPv3 agent, ICMP ping, telnet (available since Zabbix 2.2 version).
Service port =
<>
Specify a TCP port range of a discovered service or a range to exclude.
= - service port is in the range.
<> - service port is not in the range.
Discovery rule =
<>
Specify a discovery rule or a discovery rule to exclude.
= - using this discovery rule.
<> - using any other discovery rule, except this one.
Discovery check =
<>
Specify a discovery check or a discovery check to exclude.
= - using this discovery check.
<> - using any other discovery check, except this one.
Discovery object = Specify the discovered object.
= - equal to discovered object (a device or a service).
Discovery status = Up - matches 'Host Up' or 'Service Up' events
Down - matches 'Host Down' or 'Service Down' events
Discovered - matches 'Host Discovered' or 'Service Discovered' events
Lost - matches 'Host Lost' or 'Service Lost' events
See Network discovery page for event description.
Uptime/Downtime >=
<=
Uptime for 'Host Up' and 'Service Up' events. Downtime for 'Host Down' and 'Service Down' events.
>= - is more or equal to. Parameter is given in seconds.
<= - is less or equal to. Parameter is given in seconds.
Received value =
<>
>=
<=
like
not like
Specify the value received from an agent (Zabbix, SNMP). Case sensitive string comparison. If multiple Zabbix agent or SNMP checks are configured for a rule, received values for all of them are checked (each check generates a new event which is matched against all conditions).
=  - equal to the value.
<>  - not equal to the value.
>= - more or equal to the value.
<= - less or equal to the value.
like - contains the substring. Parameter is given as a string.
not like - does not contain the substring. Parameter is given as a string.
Proxy =
<>
Specify a proxy or a proxy to exclude.
= - using this proxy.
<> - using any other proxy except this one.