码迷,mamicode.com
首页 > 其他好文 > 详细

自动发现主机条件详解

时间:2015-01-17 06:37:55      阅读:261      评论:0      收藏:0      [点我收藏+]

标签:different   following   available   example   oracle   

技术分享

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 typeSupported operatorsDescription
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.


本文出自 “Linux革命” 博客,请务必保留此出处http://kaibinyuan.blog.51cto.com/7304008/1604963

自动发现主机条件详解

标签:different   following   available   example   oracle   

原文地址:http://kaibinyuan.blog.51cto.com/7304008/1604963

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!