Remove the usage of down and disabled together

This patch removes the trigger with state '== down || == disabled'
because it is not working. We replaced it by a check that validates the
fact that alarm is triggered only if one service is up and at least
another service is down or disabled by using the percentage of services
up.

Change-Id: I463b1de2434544bdb4e5b4f3fec8ebc8642f20b3
This commit is contained in:
Guillaume Thouvenin 2016-12-21 15:30:22 +01:00
parent 822bb4d9d5
commit 7a694feeda
1 changed files with 4 additions and 4 deletions

View File

@ -129,12 +129,12 @@ remote_collector:
window: 60
periods: 0
function: last
- metric: openstack_cinder_services
- metric: openstack_cinder_services_percent
field:
service: scheduler
state: '== down || == disabled'
relational_operator: '>'
threshold: 0
state: up
relational_operator: '<'
threshold: 100
window: 60
periods: 0
function: last