You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
3.5 KiB
56 lines
3.5 KiB
1 year ago
|
|
||
|
# Zabbix agent
|
||
|
|
||
|
### Macros used
|
||
|
|
||
|
|Name|Description|Default|
|
||
|
|----|-----------|-------|
|
||
|
|{$AGENT.TIMEOUT}|<p>Timeout after which agent is considered unavailable. Works only for agents reachable from Zabbix server/proxy (passive mode).</p>|`3m`|
|
||
|
|
||
|
### Items
|
||
|
|
||
|
|Name|Description|Type|Key and additional info|
|
||
|
|----|-----------|----|-----------------------|
|
||
|
|Zabbix agent: Version of Zabbix agent running||Zabbix agent|agent.version<p>**Preprocessing**</p><ul><li><p>Discard unchanged with heartbeat: `1d`</p></li></ul>|
|
||
|
|Zabbix agent: Host name of Zabbix agent running||Zabbix agent|agent.hostname<p>**Preprocessing**</p><ul><li><p>Discard unchanged with heartbeat: `1d`</p></li></ul>|
|
||
|
|Zabbix agent: Zabbix agent ping|<p>The agent always returns 1 for this item. It could be used in combination with nodata() for availability check.</p>|Zabbix agent|agent.ping|
|
||
|
|Zabbix agent: Zabbix agent availability|<p>Monitoring the availability status of the agent.</p>|Zabbix internal|zabbix[host,agent,available]|
|
||
|
|
||
|
### Triggers
|
||
|
|
||
|
|Name|Description|Expression|Severity|Dependencies and additional info|
|
||
|
|----|-----------|----------|--------|--------------------------------|
|
||
|
|Zabbix agent: Zabbix agent is not available|<p>For passive only agents, host availability is used with {$AGENT.TIMEOUT} as time threshold.</p>|`max(/Zabbix agent/zabbix[host,agent,available],{$AGENT.TIMEOUT})=0`|Average|**Manual close**: Yes|
|
||
|
|
||
|
# Zabbix agent active
|
||
|
|
||
|
### Macros used
|
||
|
|
||
|
|Name|Description|Default|
|
||
|
|----|-----------|-------|
|
||
|
|{$AGENT.NODATA_TIMEOUT}|<p>No data timeout for active agents. Consider to keep it relatively high.</p>|`30m`|
|
||
|
|{$AGENT.TIMEOUT}|<p>Timeout after which agent is considered unavailable.</p>|`5m`|
|
||
|
|
||
|
### Items
|
||
|
|
||
|
|Name|Description|Type|Key and additional info|
|
||
|
|----|-----------|----|-----------------------|
|
||
|
|Zabbix agent active: Version of Zabbix agent running||Zabbix agent (active)|agent.version<p>**Preprocessing**</p><ul><li><p>Discard unchanged with heartbeat: `1d`</p></li></ul>|
|
||
|
|Zabbix agent active: Host name of Zabbix agent running||Zabbix agent (active)|agent.hostname<p>**Preprocessing**</p><ul><li><p>Discard unchanged with heartbeat: `1d`</p></li></ul>|
|
||
|
|Zabbix agent active: Zabbix agent ping|<p>The agent always returns 1 for this item. It could be used in combination with nodata() for availability check.</p>|Zabbix agent (active)|agent.ping|
|
||
|
|Zabbix agent active: Active agent availability|<p>Availability of active checks on the host. The value of this item corresponds to availability icons in the host list.</p><p>Possible value:</p><p>0 - unknown</p><p>1 - available</p><p>2 - not available</p>|Zabbix internal|zabbix[host,active_agent,available]|
|
||
|
|
||
|
### Triggers
|
||
|
|
||
|
|Name|Description|Expression|Severity|Dependencies and additional info|
|
||
|
|----|-----------|----------|--------|--------------------------------|
|
||
|
|Zabbix agent active: Zabbix agent is not available|<p>For active agents, nodata() with agent.ping is used with {$AGENT.NODATA_TIMEOUT} as time threshold.</p>|`nodata(/Zabbix agent active/agent.ping,{$AGENT.NODATA_TIMEOUT})=1`|Average|**Manual close**: Yes|
|
||
|
|Zabbix agent active: Active checks are not available|<p>Active checks are considered unavailable. Agent is not sending heartbeat for prolonged time.</p>|`min(/Zabbix agent active/zabbix[host,active_agent,available],{$AGENT.TIMEOUT})=2`|High||
|
||
|
|
||
|
## Feedback
|
||
|
|
||
|
Please report any issues with the template at [`https://support.zabbix.com`](https://support.zabbix.com)
|
||
|
|
||
|
You can also provide feedback, discuss the template, or ask for help at [`ZABBIX forums`](https://www.zabbix.com/forum/zabbix-suggestions-and-feedback)
|
||
|
|