In Kilo, bug 1326721 added the query property on heat OS::Ceilometer::Alarm
resource. I'm using an alarm like the following. I've looked for a work
around for Juno, but was unable to come up with one. Does anyone have a
possible work around or alternative? Thanks
gone_alarm:
type: OS::Ceilometer::Alarm
properties:
description: Detect server being unresponsive
repeat_actions: False
meter_name: network.services.lb.member
statistic: avg
period: 600
evaluation_periods: 1
threshold: 1
alarm_actions: [ {get_attr: [restarter, AlarmUrl]} ]
query:
- field: resource_id
op: eq
value: {get_resource: member}
comparison_operator: lt
member:
type: OS::Neutron::PoolMember
properties:
pool_id: {get_param: pool_id}
address: {get_attr: [server_node, first_address]}
protocol_port: { get_param: loadbalance_port }
Karolyn Chambers
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack