summaryrefslogtreecommitdiffstats
path: root/roles/os_zabbix/vars
diff options
context:
space:
mode:
authorSten Turpin <stenwt@users.noreply.github.com>2015-10-08 14:38:46 -0500
committerSten Turpin <stenwt@users.noreply.github.com>2015-10-08 14:38:46 -0500
commit413b7a78f7f67aa31a1f9326c842cf7252751b2c (patch)
tree972d6a8d5b5503ce43f73c64b10afc17590d8060 /roles/os_zabbix/vars
parent1c68cdd2a5429f944f69d0fa4ed95df32fee57d3 (diff)
parent3766356b8d4349b187af5ca6b945c3f1efd0fc25 (diff)
downloadopenshift-413b7a78f7f67aa31a1f9326c842cf7252751b2c.tar.gz
openshift-413b7a78f7f67aa31a1f9326c842cf7252751b2c.tar.bz2
openshift-413b7a78f7f67aa31a1f9326c842cf7252751b2c.tar.xz
openshift-413b7a78f7f67aa31a1f9326c842cf7252751b2c.zip
Merge pull request #675 from stenwt/sturpin-2015-10-08-ovs-monitor
added items + triggers for ovs tests
Diffstat (limited to 'roles/os_zabbix/vars')
-rw-r--r--roles/os_zabbix/vars/template_openshift_master.yml22
1 files changed, 22 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..a49c7581a 100644
--- a/roles/os_zabbix/vars/template_openshift_master.yml
+++ b/roles/os_zabbix/vars/template_openshift_master.yml
@@ -25,6 +25,18 @@ g_template_openshift_master:
applications:
- Openshift Master
+ - key: openshift.master.ovs.ports.count
+ description: Shows number of OVS ports defined
+ type: int
+ applications:
+ - Openshift Master
+
+ - key: openshift.master.ovs.pids.count
+ description: Shows number of ovs process ids running
+ 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'
@@ -46,3 +58,13 @@ g_template_openshift_master:
url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/openshift_master.asciidoc'
priority: info
+ - name: 'OVS may not be running on {HOST.NAME}'
+ expression: '{Template Openshift Master:openshift.master.ovs.pids.count.last()}!=4'
+ url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/openshift_master.asciidoc'
+ priority: high
+
+ - name: 'Number of OVS ports is 0 on {HOST.NAME}'
+ expression: '{Template Openshift Master:openshift.master.ovs.ports.count.last()}=0'
+ url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/openshift_master.asciidoc'
+ priority: high
+