summaryrefslogtreecommitdiffstats
path: root/roles/os_zabbix
diff options
context:
space:
mode:
authorMatt Woodson <mwoodson@gmail.com>2015-12-14 15:22:43 -0500
committerMatt Woodson <mwoodson@gmail.com>2015-12-14 15:22:43 -0500
commitfc967c5159a37e5127a5294bdb7446c6f06eb54a (patch)
tree14676748b88987228e7f9aae6f77d45f5fda238e /roles/os_zabbix
parent4322b19c0503a4f149ac5bca251beba14178948d (diff)
parent979a61d4f5d56cc71059ee4e440856a45d14b92c (diff)
downloadopenshift-fc967c5159a37e5127a5294bdb7446c6f06eb54a.tar.gz
openshift-fc967c5159a37e5127a5294bdb7446c6f06eb54a.tar.bz2
openshift-fc967c5159a37e5127a5294bdb7446c6f06eb54a.tar.xz
openshift-fc967c5159a37e5127a5294bdb7446c6f06eb54a.zip
Merge pull request #1063 from mwoodson/create_app
Zabbix: added trigger to monitor app create over the last hour
Diffstat (limited to 'roles/os_zabbix')
-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'