summaryrefslogtreecommitdiffstats
path: root/roles/os_zabbix
diff options
context:
space:
mode:
authorMatt Woodson <mwoodson@gmail.com>2015-12-01 15:56:38 -0500
committerMatt Woodson <mwoodson@gmail.com>2015-12-01 15:56:38 -0500
commit3780deb06c7d8f85bfb031fbce7778646cbf64ee (patch)
treec918b1443f73d059bc2dfbd25ff8cddf9dfc5b47 /roles/os_zabbix
parentcd374360673ac0fb39078a1c39b12db49e106cc0 (diff)
parent93befca22e7c72d2e8d9937cc695e6cace6f1b4a (diff)
downloadopenshift-3780deb06c7d8f85bfb031fbce7778646cbf64ee.tar.gz
openshift-3780deb06c7d8f85bfb031fbce7778646cbf64ee.tar.bz2
openshift-3780deb06c7d8f85bfb031fbce7778646cbf64ee.tar.xz
openshift-3780deb06c7d8f85bfb031fbce7778646cbf64ee.zip
Merge pull request #1005 from mwoodson/registry_checks
added docker registry cluster check
Diffstat (limited to 'roles/os_zabbix')
-rw-r--r--roles/os_zabbix/vars/template_openshift_master.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/os_zabbix/vars/template_openshift_master.yml b/roles/os_zabbix/vars/template_openshift_master.yml
index 8236cf135..6972ac877 100644
--- a/roles/os_zabbix/vars/template_openshift_master.yml
+++ b/roles/os_zabbix/vars/template_openshift_master.yml
@@ -7,6 +7,12 @@ g_template_openshift_master:
- Openshift Master
key: create_app
+ - key: openshift.master.registry.healthz
+ description: "Shows the health status of the cluster's docker registry"
+ type: int
+ applications:
+ - Openshift Master
+
- key: openshift.master.process.count
description: Shows number of master processes running
type: int
@@ -245,6 +251,11 @@ g_template_openshift_master:
url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/check_etcd.asciidoc'
priority: high
+ - name: 'Docker Registry check failed on {HOST.NAME}'
+ expression: '{Template Openshift Master:openshift.master.registry.healthz.max(#2)}<1'
+ url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/openshift_master.asciidoc'
+ priority: high
+
zgraphs:
- name: Openshift Master API Server Latency Pods LIST Quantiles
width: 900