# Zabbix agent ### Macros used |Name|Description|Default| |----|-----------|-------| |{$AGENT.TIMEOUT}|
Timeout after which agent is considered unavailable. Works only for agents reachable from Zabbix server/proxy (passive mode).
|`3m`| ### Items |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |Zabbix agent: Version of Zabbix agent running||Zabbix agent|agent.version**Preprocessing**
Discard unchanged with heartbeat: `1d`
**Preprocessing**
Discard unchanged with heartbeat: `1d`
The agent always returns 1 for this item. It could be used in combination with nodata() for availability check.
|Zabbix agent|agent.ping| |Zabbix agent: Zabbix agent availability|Monitoring the availability status of the agent.
|Zabbix internal|zabbix[host,agent,available]| ### Triggers |Name|Description|Expression|Severity|Dependencies and additional info| |----|-----------|----------|--------|--------------------------------| |Zabbix agent: Zabbix agent is not available|For passive only agents, host availability is used with {$AGENT.TIMEOUT} as time threshold.
|`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}|No data timeout for active agents. Consider to keep it relatively high.
|`30m`| |{$AGENT.TIMEOUT}|Timeout after which agent is considered unavailable.
|`5m`| ### Items |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |Zabbix agent active: Version of Zabbix agent running||Zabbix agent (active)|agent.version**Preprocessing**
Discard unchanged with heartbeat: `1d`
**Preprocessing**
Discard unchanged with heartbeat: `1d`
The agent always returns 1 for this item. It could be used in combination with nodata() for availability check.
|Zabbix agent (active)|agent.ping| |Zabbix agent active: Active agent availability|Availability of active checks on the host. The value of this item corresponds to availability icons in the host list.
Possible value:
0 - unknown
1 - available
2 - not available
|Zabbix internal|zabbix[host,active_agent,available]| ### Triggers |Name|Description|Expression|Severity|Dependencies and additional info| |----|-----------|----------|--------|--------------------------------| |Zabbix agent active: Zabbix agent is not available|For active agents, nodata() with agent.ping is used with {$AGENT.NODATA_TIMEOUT} as time threshold.
|`nodata(/Zabbix agent active/agent.ping,{$AGENT.NODATA_TIMEOUT})=1`|Average|**Manual close**: Yes| |Zabbix agent active: Active checks are not available|Active checks are considered unavailable. Agent is not sending heartbeat for prolonged time.
|`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)