projects
/
osm
/
MON.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sets repeat_action to True in OpenStack alarm creation
[osm/MON.git]
/
osm_mon
/
plugins
/
OpenStack
/
Aodh
/
alarming.py
diff --git
a/osm_mon/plugins/OpenStack/Aodh/alarming.py
b/osm_mon/plugins/OpenStack/Aodh/alarming.py
index
15751f2
..
b71700e
100644
(file)
--- a/
osm_mon/plugins/OpenStack/Aodh/alarming.py
+++ b/
osm_mon/plugins/OpenStack/Aodh/alarming.py
@@
-357,7
+357,8
@@
class Alarming(object):
'severity': SEVERITIES[severity],
'type': 'gnocchi_resources_threshold',
'gnocchi_resources_threshold_rule': rule,
'severity': SEVERITIES[severity],
'type': 'gnocchi_resources_threshold',
'gnocchi_resources_threshold_rule': rule,
- 'alarm_actions': [cfg.OS_NOTIFIER_URI], }, sort_keys=True)
+ 'alarm_actions': [cfg.OS_NOTIFIER_URI],
+ 'repeat_actions': True}, sort_keys=True)
return payload
def get_alarm_state(self, endpoint, auth_token, alarm_id):
return payload
def get_alarm_state(self, endpoint, auth_token, alarm_id):