Ask Your Question
1

compute usage meters from ceilometer

asked 2013-05-21 18:19:26 -0500

mythili gravatar image

I have a Grizzly devstack install. Ceilometer services are running. I have created a compute instance but it is mostly idle(created only for testing purposes so not much "usage"). Don't see compute usage meters from ceilometer - just see "instance created" and other status kinds of meters. Does anything specific need to be done to enable the usage meters?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2013-05-22 07:33:09 -0500

Ruslan Kiianchuk gravatar image

updated 2013-06-19 09:22:34 -0500

I guess CPU utilization provided by cpu and vcpu meters is what you are looking for. If you are running ceilometer client, make sure to use credentials of the same user which owns the monitored VM.

Also make sure that Ceilometer compute agent is running correctly.

edit flag offensive delete link more

Comments

Can you please provide a ceilometer-specific or curl-specific query to get the CPU and VCPU meters?

Jobin gravatar imageJobin ( 2013-06-19 08:33:21 -0500 )edit

It should be visible using python-ceilometerclient: ceilometer meter-list.

Ruslan Kiianchuk gravatar imageRuslan Kiianchuk ( 2013-06-19 09:23:10 -0500 )edit

The meters that are visible to me are: image, image.delete, image.size, instance, instance:m1.small, image.update, image.upload, image.update. I don't find the cpu and vcpu meters. Do I have to enable it?

Jobin gravatar imageJobin ( 2013-06-19 09:31:26 -0500 )edit

I didn't need to do anything specific to enable it as long as Ceilometer compute agent is running correctly on the compute node (doesn't matter if it's devstack all-in-one, then the service just must be running). Will verify it with latest devstack and Ceilometer versions.

Ruslan Kiianchuk gravatar imageRuslan Kiianchuk ( 2013-06-19 09:37:57 -0500 )edit

I confirmed that ceilometer-agent-compute is running(using ps) but how do I verify that it is running "correctly"? Thanks.

Jobin gravatar imageJobin ( 2013-06-19 09:39:45 -0500 )edit
0

answered 2014-02-05 03:18:00 -0500

manish gravatar image

ceilometer collects the data using two way either notification or by using pollster, in your case i see the meter visible to you are the ones which is coming using notification. the cpu and vcpu will list if pollster is enabled and working. so i guess you need to change pollster configuration in ceilometer configuration and some configuration change in nova.conf file.

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

Stats

Asked: 2013-05-21 18:19:26 -0500

Seen: 1,640 times

Last updated: Feb 05 '14