Send Heat alarm to a specified webhook
I am able to Scale Down using the following alarm :
cpu_alarm_low:
type: OS::Ceilometer::Alarm
properties:
meter_name: cpu_util
statistic: avg
period: 60
evaluation_periods: 1
threshold: 10
alarm_actions:
- {get_attr: [scaledown_policy, alarm_url]}
comparison_operator: lt
However, I would like to send the alarm to a different IP:PORT webhook at the same time. If I change the alarm to :
cpu_alarm_low:
type: OS::Ceilometer::Alarm
properties:
meter_name: cpu_util
statistic: avg
period: 60
evaluation_periods: 1
threshold: 10
alarm_actions: ['http://192.168.124.63:13019', 'http://192.168.109.62:13016']
comparison_operator: lt
Through the above alarm, I can receive alarms at the two ip:port specified.
How do I combine these two?
Not sure what you trying to achieve. Have you tried to notify two actions?
I want to send alarm to a scaledown_policy and a http://IP:PORT to display the alarm notification in my custom GUi