summaryrefslogtreecommitdiffstats
path: root/roles/os_zabbix/vars
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2015-10-08 15:18:05 -0400
committerKenny Woodson <kwoodson@redhat.com>2015-10-08 15:19:32 -0400
commite5f0b4944a434a51ae9b460d60a0e00a626158e6 (patch)
tree015c079d7e44413e5da73e24b8c4f2548030e5ec /roles/os_zabbix/vars
parentdf3e90a557af6d3221116f30c677af69aaefcfc5 (diff)
downloadopenshift-e5f0b4944a434a51ae9b460d60a0e00a626158e6.tar.gz
openshift-e5f0b4944a434a51ae9b460d60a0e00a626158e6.tar.bz2
openshift-e5f0b4944a434a51ae9b460d60a0e00a626158e6.tar.xz
openshift-e5f0b4944a434a51ae9b460d60a0e00a626158e6.zip
Adding zabbix agent template
Diffstat (limited to 'roles/os_zabbix/vars')
-rw-r--r--roles/os_zabbix/vars/template_app_zabbix_agent.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/roles/os_zabbix/vars/template_app_zabbix_agent.yml b/roles/os_zabbix/vars/template_app_zabbix_agent.yml
new file mode 100644
index 000000000..06c4eda8b
--- /dev/null
+++ b/roles/os_zabbix/vars/template_app_zabbix_agent.yml
@@ -0,0 +1,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