[Openstack] [Ceilometer] looking for alarm best practice - please help
raodingyuan at chinacloud.com.cn
Wed Dec 3 07:43:56 UTC 2014
I wonder if anyone could share some best practice regarding to the usage of
ceilometer alarm. We are using the alarm evaluation/notification of
ceilometer and we don't feel very well of the way we use it. Below is our
When cpu usage or memory usage above a certain threshold, alerts should be
displayed on admin's web page. There should be a 3 level alerts according to
meter value, namely notice, warning, fatal. Notice means the meter value is
between 50% ~ 70%, warning means between 70% ~ 85% and fatal means above 85%
* when one vm's cpu usage is 72%, an alert message should be displayed
saying "Warning: vm[d9b7018b-06c4-4fba-8221-37f67f6c6b8c] cpu usage is above
* when one vm's memory usage is 90%, another alert message should be created
saying "Fatal: vm[d9b7018b-06c4-4fba-8221-37f67f6c6b8c] memory usage is
Our current Solution:
We used ceilometer alarm evaluation/notification to implement this. To
distinguish which VM and which meter is above what value, we've created one
alarm for each VM by each condition. So, to monitor 1 VM, 6 alarms will be
created because there are 2 meters and for each meter there are 3 levels.
That means, if there are 100 VMs to be monitored, 600 alarms will be
* The first problem is, when the number of meters increases, the number of
alarms will be multiplied. For example, customer may want alerts on disk and
network IO rates, and if we do that, there will be 4*3=12 alarms for each
* The second problem is, when one VM is created, multiple alarms will be
created, meaning multiple http requests will be fired. In the case above, 6
HTTP requests will be needed once a VM is created. And this number also
increases as the number of meters goes up.
Do anyone have any suggestions?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Openstack