summaryrefslogtreecommitdiffstats
path: root/roles/os_zabbix/vars/template_app_zabbix_agent.yml
blob: 6349b638414ace1318ff2dd849df2e26340ed497 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
g_template_app_zabbix_agent:
   name: Template App Zabbix Agent
   zitems:
   - key: agent.hostname
     applications:
     - Zabbix agent
     value_type: character
     zabbix_type: 0

   - key: agent.ping
     applications:
     - Zabbix agent
     description: The agent always returns 1 for this item. It could be used in combination with nodata() for availability check.
     value_type: int
     zabbix_type: 0

   ztriggers:
   - name: '[Reboot] Zabbix agent on {HOST.NAME} is unreachable for 15 minutes'
     description: Zabbix agent is unreachable for 15 minutes.
     expression: '{Template App Zabbix Agent:agent.ping.nodata(15m)}=1'
     priority: high
     url: https://github.com/openshift/ops-sop/blob/master/Alerts/check_ping.asciidoc