[Openstack] [Heat][Ceilometer]
Pavlo Shchelokovskyy
pshchelokovskyy at mirantis.com
Wed Mar 18 07:58:48 UTC 2015
HI,
when you create an alarm in Heat [1], you pass it the metadata to filter
resources for which to collect samples (usually it involves a stack id in
some way or another) and a ceilometer query to filter samples more
precisely. Then using the aggregation function (statistic) e.g. average and
a big enough period to aggregate upon (all set in the alarm resource of
Heat too) you could effectively have an average load of all the servers in
the autoscaling group combined as a trigger for an alarm.
[1]
http://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Ceilometer::Alarm-props
Best regards,
Pavlo Shchelokovskyy
Software Engineer
Mirantis Inc
www.mirantis.com
On Fri, Mar 13, 2015 at 11:11 AM, Srujana C P <srujana_cp at persistent.com>
wrote:
> Hi,
>
>
>
> I am using sample heat template to understand the auto scaling
> functionality. When I put stress on the server, it is adding one more node
> to the auto scaling group. So I would like to know for the next scaling
> action to perform, is ceilometer alarm is raised based on the load on all
> existing machines in the auto scaling group or individual servers in the
> group.
>
>
>
> As Ceilometer is not considering stack as its resource, How it would
> calculate the statistics for the entire stack?
>
>
>
> Thanks,
>
> Srujana
>
> DISCLAIMER ========== This e-mail may contain privileged and confidential
> information which is the property of Persistent Systems Ltd. It is intended
> only for the use of the individual or entity to which it is addressed. If
> you are not the intended recipient, you are not authorized to read, retain,
> copy, print, distribute or use this message. If you have received this
> communication in error, please notify the sender and delete all copies of
> this message. Persistent Systems Ltd. does not accept any liability for
> virus infected mails.
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150318/93529196/attachment.html>
More information about the Openstack
mailing list