diff options
author | Kenny Woodson <kwoodson@redhat.com> | 2015-10-08 15:20:22 -0400 |
---|---|---|
committer | Kenny Woodson <kwoodson@redhat.com> | 2015-10-08 15:20:22 -0400 |
commit | 1c68cdd2a5429f944f69d0fa4ed95df32fee57d3 (patch) | |
tree | 3886efd73c089302c6a30e8e9ffe0a8ce45a39fc /roles/os_zabbix/vars | |
parent | 3ffde7a596721b65ec82628b36fb53a69715a031 (diff) | |
parent | e5f0b4944a434a51ae9b460d60a0e00a626158e6 (diff) | |
download | openshift-1c68cdd2a5429f944f69d0fa4ed95df32fee57d3.tar.gz openshift-1c68cdd2a5429f944f69d0fa4ed95df32fee57d3.tar.bz2 openshift-1c68cdd2a5429f944f69d0fa4ed95df32fee57d3.tar.xz openshift-1c68cdd2a5429f944f69d0fa4ed95df32fee57d3.zip |
Merge pull request #674 from kwoodson/zabagent
Adding zabbix agent template to config management
Diffstat (limited to 'roles/os_zabbix/vars')
-rw-r--r-- | roles/os_zabbix/vars/template_app_zabbix_agent.yml | 23 |
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 |