summaryrefslogtreecommitdiffstats
path: root/roles/os_zabbix
diff options
context:
space:
mode:
authorThomas Wiest <twiest@redhat.com>2015-12-16 15:00:51 -0500
committerThomas Wiest <twiest@redhat.com>2015-12-16 15:00:51 -0500
commit68b0a1b5b6b0986d3a224014ef670aeba3e41716 (patch)
tree7c29fc8a3fac0d51e835c9d54809c90ff1f3de00 /roles/os_zabbix
parent64961a11488fdbeee6aaf75c9f1e025a31be6b9f (diff)
downloadopenshift-68b0a1b5b6b0986d3a224014ef670aeba3e41716.tar.gz
openshift-68b0a1b5b6b0986d3a224014ef670aeba3e41716.tar.bz2
openshift-68b0a1b5b6b0986d3a224014ef670aeba3e41716.tar.xz
openshift-68b0a1b5b6b0986d3a224014ef670aeba3e41716.zip
split zagg.server.processor.errors into separate heartbeat and metrics error items (needed since the scripts are split now).
Diffstat (limited to 'roles/os_zabbix')
-rw-r--r--roles/os_zabbix/vars/template_zagg_server.yml16
1 files changed, 13 insertions, 3 deletions
diff --git a/roles/os_zabbix/vars/template_zagg_server.yml b/roles/os_zabbix/vars/template_zagg_server.yml
index 0e8e53bb7..db5665993 100644
--- a/roles/os_zabbix/vars/template_zagg_server.yml
+++ b/roles/os_zabbix/vars/template_zagg_server.yml
@@ -7,7 +7,12 @@ g_template_zagg_server:
- Zagg Server
value_type: int
- - key: zagg.server.processor.errors
+ - key: zagg.server.metrics.errors
+ applications:
+ - Zagg Server
+ value_type: int
+
+ - key: zagg.server.heartbeat.errors
applications:
- Zagg Server
value_type: int
@@ -18,8 +23,13 @@ g_template_zagg_server:
value_type: int
ztriggers:
- - name: 'Error sending metrics on {HOST.NAME}'
- expression: '{Template Zagg Server:zagg.server.processor.errors.min(#3)}>0'
+ - name: 'Error processing metrics on {HOST.NAME}'
+ expression: '{Template Zagg Server:zagg.server.metrics.errors.min(#3)}>0'
+ url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/zagg_server.asciidoc'
+ priority: average
+
+ - name: 'Error processing heartbeats on {HOST.NAME}'
+ expression: '{Template Zagg Server:zagg.server.heartbeat.errors.min(#3)}>0'
url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/zagg_server.asciidoc'
priority: average