summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Woodson <mwoodson@redhat.com>2015-12-01 10:04:23 -0500
committerMatt Woodson <mwoodson@redhat.com>2015-12-01 10:04:23 -0500
commit93befca22e7c72d2e8d9937cc695e6cace6f1b4a (patch)
tree53de733930ddd6699eec52ce77573e8fb07fb17b
parentebf659b0c1775f9be3e52a8ef420d568656c10f9 (diff)
downloadopenshift-93befca22e7c72d2e8d9937cc695e6cace6f1b4a.tar.gz
openshift-93befca22e7c72d2e8d9937cc695e6cace6f1b4a.tar.bz2
openshift-93befca22e7c72d2e8d9937cc695e6cace6f1b4a.tar.xz
openshift-93befca22e7c72d2e8d9937cc695e6cace6f1b4a.zip
added docker registry cluster check
-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