【发布时间】:2015-08-12 15:27:57
【问题描述】:
是否有可能使用命令--alarm-action 'log: //' 在 OpenStack 上运行任何脚本或创建 VM 实例,例如:
我可以做这样的事情吗
$ ceilometer alarm-threshold-create --name cpu_high/\ --description 'instance running hot' --meter-name cpu_util --threshold 70.0 --comparison-operator gt --statistic avg --period 600 --evaluation-periods 3 --alarm-action './script.sh' --query resource_id=INSTANCE_ID
--alarm-action './script.sh' 在哪里启动 script.sh
【问题讨论】:
标签: openstack alarm ceilometer rdo