summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorThomas Wiest <twiest@users.noreply.github.com>2015-10-08 10:12:06 -0400
committerThomas Wiest <twiest@users.noreply.github.com>2015-10-08 10:12:06 -0400
commitdf3e90a557af6d3221116f30c677af69aaefcfc5 (patch)
tree18ebab23bfbafadf9afe27008a501fe6338bdbdf /roles
parent062a2f23251f0db5ef5867fbe571ade391b1466e (diff)
parentb03679b3ce1a52cfcc1c356690165eafe9b7c313 (diff)
downloadopenshift-df3e90a557af6d3221116f30c677af69aaefcfc5.tar.gz
openshift-df3e90a557af6d3221116f30c677af69aaefcfc5.tar.bz2
openshift-df3e90a557af6d3221116f30c677af69aaefcfc5.tar.xz
openshift-df3e90a557af6d3221116f30c677af69aaefcfc5.zip
Merge pull request #633 from robotmaxtron/mwhittin-cluster-user-count
Zabbix check and trigger for user count
Diffstat (limited to 'roles')
-rw-r--r--roles/os_zabbix/vars/template_openshift_master.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/os_zabbix/vars/template_openshift_master.yml b/roles/os_zabbix/vars/template_openshift_master.yml
index c71e07910..68f810fe0 100644
--- a/roles/os_zabbix/vars/template_openshift_master.yml
+++ b/roles/os_zabbix/vars/template_openshift_master.yml
@@ -13,6 +13,12 @@ g_template_openshift_master:
applications:
- Openshift Master
+ - key: openshift.master.user.count
+ description: Shows number of users in a cluster
+ type: int
+ applications:
+ - Openshift Master
+
ztriggers:
- name: 'Application creation has failed on {HOST.NAME}'
expression: '{Template Openshift Master:create_app.last(#1)}=1 and {Template Openshift Master:create_app.last(#2)}=1'
@@ -28,3 +34,9 @@ g_template_openshift_master:
expression: '{Template Openshift Master:openshift.master.process.count.min(#3)}>1'
url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/openshift_master.asciidoc'
priority: high
+
+ - name: 'Number of users for Openshift Master on {HOST.NAME}'
+ expression: '{Template Openshift Master:openshift.master.user.count.last()}=0'
+ url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/openshift_master.asciidoc'
+ priority: info
+