Revision history [back]

click to hide/show revision 1
initial version

Adding meter for 'memory.usage'

I followed this link and launched auto-scaling instances that scale based on average CPU utilization. From here, I gather that memory.usage meter is similar to cpu_util meter; the difference being that the former's unit is in MB whereas the latter's unit is %-age.

I would like to add a new alarm that triggers when memory.usage > threshold_mb. The relevant of my stack template is :

ram_alarm_high:
    type: OS::Ceilometer::Alarm
    properties:
      meter_name: memory.usage
      statistic: avg
      period: 60
      evaluation_periods: 1
      threshold: { get_param: threshold_mb }
      alarm_actions: [{ get_param: action_url }]
      ok_actions: [{ get_param: ok_url }]
      comparison_operator: gt

Now, I would like to make necessary changes to my /etc/ceilometer/pipeline.yaml so that Memory usage data is collected once every 60 seconds (as specified in the template yaml). How do I proceed ?

Adding meter for 'memory.usage'

I followed this link and launched auto-scaling instances that scale based on average CPU utilization. From here, I gather that memory.usage meter is similar to cpu_util meter; the difference being that the former's unit is in MB whereas the latter's unit is %-age.

I would like to add a new alarm that triggers when memory.usage > threshold_mb. The relevant portion of my stack template is :

ram_alarm_high:
    type: OS::Ceilometer::Alarm
    properties:
      meter_name: memory.usage
      statistic: avg
      period: 60
      evaluation_periods: 1
      threshold: { get_param: threshold_mb }
      alarm_actions: [{ get_param: action_url }]
      ok_actions: [{ get_param: ok_url }]
      comparison_operator: gt

Now, I would like to make necessary changes to my /etc/ceilometer/pipeline.yaml so that Memory usage data is collected once every 60 seconds (as specified in the template yaml). How do I proceed ?