ceilometer API does not list meters apart from 4 meters with prefix 'storage.objects'

asked 2015-01-21 06:41:04 -0600

anonymous user


Hi everyone I have installed devstack in my standalone box. I have created some VM instances as well. Now when I try to get meter list from ceilometer through API I get only 4 meters all starting with 'storage.objects' (storage.objects.outgoing.bytes, storage.objects.incoming.bytes). I do not see any metrics about cpu utilization , memory, etc. Please help me how can I debug this.

edit retag flag offensive close merge delete


did you find any errors in the ceilometer related logs and ensure the rabbitmq can be reached.

9lives gravatar image9lives ( 2015-01-21 20:09:58 -0600 )edit

I checked /var/log/ceilometer-api/ceilometer-api.log. There are no new messages and no error. The messages were of old timestamp. How can I check if rabbitmq is reachable?

Anbu gravatar imageAnbu ( 2015-01-30 08:04:04 -0600 )edit

try this way, remove or backup all the logs related to ceilometer then restart all the ceilometer services(c-api,c-collector,c-compute-agent,etc) and paste all the logs to paste.openstack.org and we will take a close look.

9lives gravatar image9lives ( 2015-01-31 03:30:15 -0600 )edit

Hi.. I do not see any logs for ceilometer under /var/log/ apart from /var/log/ceiloemter-api/ceilometer-api.log . I have pasted the logs of other ceilometer process here http://paste.openstack.org/show/165477/ . Does this help?

Anbu gravatar imageAnbu ( 2015-02-02 03:34:25 -0600 )edit

Hi I wanted a few more answers . So I am posting my questions here. Glad if you could help. Thanks in adavance 1. The meters being collected by ceilometer - does it depend on hypervisor being used? 2. What is the default hypervisor used by openstack(devstack installation) ? How can I figure it out?

Anbu gravatar imageAnbu ( 2015-02-02 03:37:40 -0600 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2015-02-23 14:33:28 -0600

Rakesh Patnaik gravatar image

Get Meters call wont show up metrics for resources that do not exist. Unless you spin a VM you will not see meters such as cpu utilization and memory. Devstack would have nova configurations in place if you have ceilometer services enabled using local.conf. Make sure you have the following in local.conf

enable_service ceilometer-acompute ceilometer-acentral ceilometer-anotification ceilometer-collector

edit flag offensive delete link more

answered 2015-02-23 06:32:01 -0600

Vinoth gravatar image

You might missed the configurations to be added in nova file.

Check for the following lines in nova.conf:

notification_driver = nova.openstack.common.notifier.rpc_notifier notification_driver = ceilometer.compute.nova_notifier

And also cross check the RabbitMq credintials in all other configuration files like nova.conf, cinder.conf, ..

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2015-01-21 06:41:04 -0600

Seen: 744 times

Last updated: Feb 23 '15