[Openstack] [Heat] other options for query property on OS::Ceilometer::Alarm

Karolyn Chambers chamberk at us.ibm.com
Wed Jan 21 05:31:10 UTC 2015



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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150120/eb16a78d/attachment.html>


More information about the Openstack mailing list