diff options
author | Kenny Woodson <kwoodson@redhat.com> | 2015-10-15 11:13:11 -0400 |
---|---|---|
committer | Kenny Woodson <kwoodson@redhat.com> | 2015-10-15 11:13:11 -0400 |
commit | d26d1705de300dcbbfb0e69f84d57beefc1a1968 (patch) | |
tree | 46a8a516bd312ebc32590039af3a8859142ba570 | |
parent | 55a819ba791ffdf2181d6f07d5bcbab98d197e86 (diff) | |
parent | fee978537bbaea5aaee3bb7719ead8544f2d768a (diff) | |
download | openshift-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
-rw-r--r-- | roles/os_zabbix/vars/template_openshift_master.yml | 10 |
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 |