From 93befca22e7c72d2e8d9937cc695e6cace6f1b4a Mon Sep 17 00:00:00 2001 From: Matt Woodson Date: Tue, 1 Dec 2015 10:04:23 -0500 Subject: added docker registry cluster check --- roles/os_zabbix/vars/template_openshift_master.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 -- cgit v1.2.3