Ask Your Question
0

Set Ceilometer alarm for Keystone

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

bunker gravatar image

Hi,

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

Thanks

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 78 times

Last updated: Mar 03 '16