summaryrefslogtreecommitdiffstats
path: root/roles/os_zabbix
diff options
context:
space:
mode:
authorThomas Wiest <twiest@users.noreply.github.com>2015-12-16 15:17:04 -0500
committerThomas Wiest <twiest@users.noreply.github.com>2015-12-16 15:17:04 -0500
commit0b12e38aa173e263f589e5bd2637fc6d28707a48 (patch)
tree7c29fc8a3fac0d51e835c9d54809c90ff1f3de00 /roles/os_zabbix
parent64961a11488fdbeee6aaf75c9f1e025a31be6b9f (diff)
parent68b0a1b5b6b0986d3a224014ef670aeba3e41716 (diff)
downloadopenshift-0b12e38aa173e263f589e5bd2637fc6d28707a48.tar.gz
openshift-0b12e38aa173e263f589e5bd2637fc6d28707a48.tar.bz2
openshift-0b12e38aa173e263f589e5bd2637fc6d28707a48.tar.xz
openshift-0b12e38aa173e263f589e5bd2637fc6d28707a48.zip
Merge pull request #1073 from twiest/pr
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