summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2015-10-15 11:13:11 -0400
committerKenny Woodson <kwoodson@redhat.com>2015-10-15 11:13:11 -0400
commitd26d1705de300dcbbfb0e69f84d57beefc1a1968 (patch)
tree46a8a516bd312ebc32590039af3a8859142ba570 /roles
parent55a819ba791ffdf2181d6f07d5bcbab98d197e86 (diff)
parentfee978537bbaea5aaee3bb7719ead8544f2d768a (diff)
downloadopenshift-d26d1705de300dcbbfb0e69f84d57beefc1a1968.tar.gz
openshift-d26d1705de300dcbbfb0e69f84d57beefc1a1968.tar.bz2
openshift-d26d1705de300dcbbfb0e69f84d57beefc1a1968.tar.xz
openshift-d26d1705de300dcbbfb0e69f84d57beefc1a1968.zip
Merge pull request #684 from gburges/gburges-projectcounter
Update template_openshift_master.yml
Diffstat (limited to 'roles')
-rw-r--r--roles/os_zabbix/vars/template_openshift_master.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/os_zabbix/vars/template_openshift_master.yml b/roles/os_zabbix/vars/template_openshift_master.yml
index 4ae918ec6..1de4fefbb 100644
--- a/roles/os_zabbix/vars/template_openshift_master.yml
+++ b/roles/os_zabbix/vars/template_openshift_master.yml
@@ -24,6 +24,12 @@ g_template_openshift_master:
type: int
applications:
- Openshift Master
+
+ - key: openshift.project.counter
+ description: Shows number of projects on a cluster
+ type: int
+ applications:
+ - Openshift Master
ztriggers:
- name: 'Application creation has failed on {HOST.NAME}'
@@ -46,3 +52,7 @@ g_template_openshift_master:
url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/openshift_master.asciidoc'
priority: info
+ - name: 'There are no projects running on {HOST.NAME}'
+ expression: '{Template Openshift Master:openshift.project.counter.last()}=0'
+ url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/openshift_master.asciidoc'
+ priority: info