summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorMatt Woodson <mwoodson@redhat.com>2015-12-14 15:17:23 -0500
committerMatt Woodson <mwoodson@redhat.com>2015-12-14 15:17:23 -0500
commit979a61d4f5d56cc71059ee4e440856a45d14b92c (patch)
tree14676748b88987228e7f9aae6f77d45f5fda238e /roles
parent4322b19c0503a4f149ac5bca251beba14178948d (diff)
downloadopenshift-979a61d4f5d56cc71059ee4e440856a45d14b92c.tar.gz
openshift-979a61d4f5d56cc71059ee4e440856a45d14b92c.tar.bz2
openshift-979a61d4f5d56cc71059ee4e440856a45d14b92c.tar.xz
openshift-979a61d4f5d56cc71059ee4e440856a45d14b92c.zip
Zabbix: added trigger to monitor app create over the last hour
Diffstat (limited to 'roles')
-rw-r--r--roles/os_zabbix/vars/template_openshift_master.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/os_zabbix/vars/template_openshift_master.yml b/roles/os_zabbix/vars/template_openshift_master.yml
index 514d6fd24..a0ba8d104 100644
--- a/roles/os_zabbix/vars/template_openshift_master.yml
+++ b/roles/os_zabbix/vars/template_openshift_master.yml
@@ -269,6 +269,14 @@ g_template_openshift_master:
- 'Openshift Master process not running on {HOST.NAME}'
priority: avg
+ - name: 'Application creation has failed multiple times in the last hour on {HOST.NAME}'
+ expression: '{Template Openshift Master:create_app.sum(1h)}>3'
+ url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/check_create_app.asciidoc'
+ dependencies:
+ - 'Openshift Master process not running on {HOST.NAME}'
+ description: The application create loop has failed 4 or more times in the last hour
+ priority: avg
+
- name: 'Openshift Master API health check is failing on {HOST.NAME}'
expression: '{Template Openshift Master:openshift.master.api.healthz.max(#3)}<1'
url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/openshift_master.asciidoc'