diff options
author | Gabor Burges <gburges@redhat.com> | 2015-10-11 19:39:50 +0200 |
---|---|---|
committer | Gabor Burges <gburges@redhat.com> | 2015-10-11 19:39:50 +0200 |
commit | fee978537bbaea5aaee3bb7719ead8544f2d768a (patch) | |
tree | 7acd3a2f52d80eb2a3b0379c8cd1dfc8b3fe9847 | |
parent | 8e776b09cb38c6f02aa4b3c75c9343e73fb96691 (diff) | |
download | openshift-fee978537bbaea5aaee3bb7719ead8544f2d768a.tar.gz openshift-fee978537bbaea5aaee3bb7719ead8544f2d768a.tar.bz2 openshift-fee978537bbaea5aaee3bb7719ead8544f2d768a.tar.xz openshift-fee978537bbaea5aaee3bb7719ead8544f2d768a.zip |
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 |