Set Ceilometer alarm for Keystone

asked 2016-03-03 01:13:53 -0600

bunker gravatar image


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


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-03-03 05:09:08 -0600

yprokule gravatar image

@bunker - how do U get samples for cpu_util meter for Keystone? This one is calculated based on the 'cpu' meter retrieved by ceilometer-compute-agent running on the compute node.

U can submit your own meter using ceilomete sample-create command with defined user/project/resource_id values and create your alarm based on this meter.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-03-03 01:13:53 -0600

Seen: 135 times

Last updated: Mar 03 '16