Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

how to use ceilometer alarm to monitor fip create

I know how to monitor cpu usage, command like below: ceilometer alarm-threshold-create --name alarm-name --description alarm-desc --meter-name cpu.util --threshold 10 --comparison-operator gt --statistic avg --period 600 --evaluation-periods 1 This means monitor cpu.util in one period(600s), if cpu usage larger than 10%, alarm is triggerd, and this command works in my setup.

Now I want to monitor floating ip creating, once create a fip, alarm will be triggered, I use the command like below: ceilometer alarm-threshold-create --name alarm_name --description alarm_desc --meter-name ip.floating.create --threshold 1 --comparison-operator gt --statistic avg --period 600 --evaluation-periods 1 But this command is not working in my setup, I have following questions: 1. Is my command correct or not, the --statistic here, supported are ['max', 'min', 'avg', 'sum', 'count'], should I use count or ave is also OK, avg seems not reasonable for fip creating. Also I tried count, still not working in my setup. 2. event is disalbed in my setup(in configure file, store_event is set to false), must I enable store_event if I want to monitor fip create. 3. Any suggestion will be helpful, also I checked in wiki, only give an example of cpu_util, no much about others, any uesful link will also be great