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.
yzl 93958d0fb0
zabbix6.0
1 year ago
..
README.md zabbix6.0 1 year ago
template_module_zabbix_agent.yaml zabbix6.0 1 year ago

README.md

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

Zabbix agent: Host name of Zabbix agent running Zabbix agent agent.hostname

Preprocessing

  • Discard unchanged with heartbeat: 1d

Zabbix agent: Zabbix agent ping

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

Zabbix agent active: Host name of Zabbix agent running Zabbix agent (active) agent.hostname

Preprocessing

  • Discard unchanged with heartbeat: 1d

Zabbix agent active: Zabbix agent ping

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

You can also provide feedback, discuss the template, or ask for help at ZABBIX forums