Ask Your Question
1

How can I get memory.usage in Ceilometer?

asked 2014-10-01 06:37:59 -0500

TheWall gravatar image

updated 2014-10-01 20:47:49 -0500

smaffulli gravatar image

Hi everybody.

I have an Openstack Icehouse installation made with Devstack. I can't get the memory.usage meter for my instances (Debian Wheezy Image). On my hypervisors I have installed libvirt 1.2, which should provide functionalities for such feature in Ceilometer ( https://blueprints.launchpad.net/ceil... )

In logs I can see the agent polling for the memory.usage pollster.

root@dev2:~# cat /var/log/ceilometer-api/ceilometer-agent-compute.log | grep memory.usage
2014-10-01 12:12:40.579 3598 INFO ceilometer.agent [-] Polling pollster memory.usage
2014-10-01 12:22:40.690 3598 INFO ceilometer.agent [-] Polling pollster memory.usage
2014-10-01 12:32:44.215 3598 INFO ceilometer.agent [-] Polling pollster memory.usage
2014-10-01 12:48:06.002 3509 INFO ceilometer.agent [-] Polling pollster memory.usage
2014-10-01 12:57:05.019 3509 INFO ceilometer.agent [-] Polling pollster memory.usage

But the meter doesn't show if I use ceilometer meter-list -q resource=resource-id.

Do I need some additional configuration? Any help is really appreciated, thanks in advance.

edit retag flag offensive close merge delete

Comments

Is there any other way I can find the memory.usage?

swati-shukla1 gravatar imageswati-shukla1 ( 2015-09-03 02:49:46 -0500 )edit

In what way you looking for via CLI or else ?

Maestropandy gravatar imageMaestropandy ( 2015-09-08 22:12:25 -0500 )edit

could you check which version of ceilometer are you using?

Ashok gravatar imageAshok ( 2015-09-09 08:18:59 -0500 )edit

3 answers

Sort by ยป oldest newest most voted
2

answered 2014-10-02 03:48:25 -0500

What is your hypervisor? I think right now, the memory usage metric in ceilometer only support Vmware hypervisor(ESXi). See this. Also the status of the task on the ceilometer blueprint(The link that you have provided) needs approval and this means it isn't accepted and implemented yet for other hypervisors such as KVM. See this.

I am not sure, but I think memory usage is not supported in ceilometer for other hypervisors than vmware ESXi.

edit flag offensive delete link more

Comments

I think you are right. Thank you very much for your answer.

TheWall gravatar imageTheWall ( 2014-10-02 04:38:15 -0500 )edit
1

answered 2015-09-03 06:35:09 -0500

updated 2015-09-03 06:45:07 -0500

Dear Swati,

Try to query with with meter name like cpu_util as like below commands

ceilometer sample-list -m cpu_util -q resource_id=<resource _id="" &gt;="" <="" p="">

edit flag offensive delete link more
0

answered 2015-09-09 05:07:49 -0500

abhishek-talwar gravatar image

HI Maestropandy,

We are looking to get the memory usage of an instance with this meter. But after installing openstack we dont have memory.usage or disk.usage parameters in the meter-list.

We needed some help in regards in how can we have these meters into our list too.

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: 2014-10-01 06:37:03 -0500

Seen: 2,493 times

Last updated: Sep 09 '15