template_app_zabbix_agent.yml 757 B

1234567891011121314151617181920212223
  1. ---
  2. g_template_app_zabbix_agent:
  3. name: Template App Zabbix Agent
  4. zitems:
  5. - key: agent.hostname
  6. applications:
  7. - Zabbix agent
  8. value_type: character
  9. zabbix_type: 0
  10. - key: agent.ping
  11. applications:
  12. - Zabbix agent
  13. description: The agent always returns 1 for this item. It could be used in combination with nodata() for availability check.
  14. value_type: int
  15. zabbix_type: 0
  16. ztriggers:
  17. - name: '[Reboot] Zabbix agent on {HOST.NAME} is unreachable for 15 minutes'
  18. description: Zabbix agent is unreachable for 15 minutes.
  19. expression: '{Template App Zabbix Agent:agent.ping.nodata(15m)}=1'
  20. priority: high
  21. url: https://github.com/openshift/ops-sop/blob/master/Alerts/check_ping.asciidoc