summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Diaz <jdiaz@redhat.com>2016-02-10 12:56:44 -0500
committerJoel Diaz <jdiaz@redhat.com>2016-02-10 12:56:44 -0500
commitbc39e1716b09af021da76e9e390111fcd0d9789a (patch)
tree6bcb7d3f9da2daa514d2166421aaf05c329ddc15
parente73f1371573cfb2c73f3499f75fe24a6ea65414d (diff)
parent4455e409fa3f9a26d62514310c1c8ab2f5413a04 (diff)
downloadopenshift-bc39e1716b09af021da76e9e390111fcd0d9789a.tar.gz
openshift-bc39e1716b09af021da76e9e390111fcd0d9789a.tar.bz2
openshift-bc39e1716b09af021da76e9e390111fcd0d9789a.tar.xz
openshift-bc39e1716b09af021da76e9e390111fcd0d9789a.zip
Merge pull request #1374 from joelddiaz/ovs-trigger-calc
trigger on two successive bad pid counts
-rw-r--r--roles/os_zabbix/vars/template_openshift_node.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/os_zabbix/vars/template_openshift_node.yml b/roles/os_zabbix/vars/template_openshift_node.yml
index ff65ef158..b0488656d 100644
--- a/roles/os_zabbix/vars/template_openshift_node.yml
+++ b/roles/os_zabbix/vars/template_openshift_node.yml
@@ -37,8 +37,8 @@ g_template_openshift_node:
url: 'https://github.com/openshift/ops-sop/blob/node/V3/Alerts/openshift_node.asciidoc'
priority: high
- - name: 'OVS may not be running on {HOST.NAME}'
- expression: '{Template Openshift Node:openshift.node.ovs.pids.count.last()}<>4'
+ - name: '[HEAL] OVS may not be running on {HOST.NAME}'
+ expression: '{Template Openshift Node:openshift.node.ovs.pids.count.last(#1)}<>4 and {Template Openshift Node:openshift.node.ovs.pids.count.last(#2)}<>4'
url: 'https://github.com/openshift/ops-sop/blob/node/V3/Alerts/openshift_node.asciidoc'
priority: high