diff options
author | Max Whittingham <mwhittingham@redhat.com> | 2015-09-30 08:39:15 -0500 |
---|---|---|
committer | Max Whittingham <mwhittingham@redhat.com> | 2015-09-30 08:39:15 -0500 |
commit | e97fb3cb60863dc2733df71cdea3c2f3fb8ba76d (patch) | |
tree | 721918784265c29f773ba7dadd893ba9949a4df0 | |
parent | 7754d298916e3e5722b664acf489ed0662b47155 (diff) | |
download | openshift-e97fb3cb60863dc2733df71cdea3c2f3fb8ba76d.tar.gz openshift-e97fb3cb60863dc2733df71cdea3c2f3fb8ba76d.tar.bz2 openshift-e97fb3cb60863dc2733df71cdea3c2f3fb8ba76d.tar.xz openshift-e97fb3cb60863dc2733df71cdea3c2f3fb8ba76d.zip |
Zabbix check and trigger for user count
-rw-r--r-- | roles/os_zabbix/vars/template_openshift_master.yml | 12 |
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..f82771d59 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(,3)}>0' + url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/openshift_master.asciidoc' + priority: info + |