Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Set Ceilometer alarm for Keystone


I am trying to monitor Keystone using Ceilometer. In docs, below is the standard way to set alarm for a resource. But what if I want to monitor the Keystone? From which value I should replace 'resource_Id' with?

ceilometer alarm-threshold-create --name cpu_hi \ --description 'instance running hot' \ --meter-name cpu_util --threshold 70.0 \ --comparison-operator gt --statistic avg \ --period 600 --evaluation-periods 3 \ --alarm-action 'log://' \ --query resource_id=INSTANCE_ID