How to check if ceilometer is collecting data [closed]

asked 2013-06-18 02:21:18 -0600

Jobin gravatar image

updated 2013-06-21 15:20:48 -0600

smaffulli gravatar image

Ceilometer returns an empty list specially when nova-specific queries are given as input, even though the response is a "200 OK". For example:

For the input:

curl -X GET -H 'X-Auth-Token:<my_token_comes_here>' "http://localhost:8777/v2/meters/instance?q.field=metadata.event_type&q.value=compute.instance.exists"

The Output is:


How do I check if ceilometer is working fine and nothing is wrong with any of the components: ceilometer-api, ceilometer-agent-compute, ceilometer-agent-central and ceilometer-collector, even though all of them are running in background.

I queried the mongoDB database of ceilometer, whose size is around 203 MB, to see that it has created a database named ceilometer which has 5 collections: meter, project, resource, system.indexes and user. The meter collection has some records in it but they do not seem to store data about the compute resources like RAM and CPU utilization. Where would I get those or how do I verify that ceilometer is at least collecting these data?

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by rbowen
close date 2014-04-15 14:27:44.303965


Have a look at the log files. The log file of the compute agent should show you the pollers sending their meters every 10mins (the default), and the collector should show that it has received them.

fetahi gravatar imagefetahi ( 2013-08-23 02:12:09 -0600 )edit

Currently, I don't have access to the exact environment I want the meters from, I'll let you know the details as soon as I do.

Jobin gravatar imageJobin ( 2013-08-23 03:22:34 -0600 )edit

Have you tried to use the complete URI parameters schema when you use the REST API? Something like "http://localhost:8777/v2/meters/instance?q.field=metadata.event_type&q.op=yourchosenoperator&q.value=compute.instance.exists"...

alessandro.portosa gravatar imagealessandro.portosa ( 2013-10-31 09:48:00 -0600 )edit

Marking question closed, as requested information hasn't been provided in nearly 9 months, so we assume it's abandoned.

rbowen gravatar imagerbowen ( 2014-04-15 14:27:36 -0600 )edit