Ask Your Question

How to show the ceilometer information in MongoDB

asked 2016-02-04 03:06:27 -0500

Lee gravatar image

updated 2016-02-11 20:47:17 -0500


I already installed the ceilometer of openstack in Ubuntu.I can see the meter-list (ex:ceilometer meter-list or alarm-list) in console.

I want to show the ceilometer information in MongoDB.

This is my MongoDB display:

ubuntu@ubuntu:~$ mongo

MongoDB shell version: 2.4.9

connecting to:

Server has startup warnings:

Tue Feb 2 14:55:44.820 [initandlisten]

Tue Feb 2 14:55:44.820 [initandlisten] ** WARNING: You are running on a NUMA machine.

Tue Feb 2 14:55:44.820 [initandlisten] ** We suggest launching mongod like this to avoid performance problems:

Tue Feb 2 14:55:44.820 [initandlisten] ** numactl --interleave=all mongod [other options]

Tue Feb 2 14:55:44.820 [initandlisten]

-> show dbs

admin (empty)

ceilometer 0.203125GB

local 0.078125GB

-> use ceilometer

switched to db ceilometer

-> show collections



As I know, the collections of ceilometer should show some information (e.g., meter, resource, alarm, and project).

However, I cannot show the some information, only display two types (system.indexes and system.users).

But I do not know how I can resolve it. Can someone please prod me in the right direction?


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-02-18 03:06:26 -0500

yprokule gravatar image

If you see output from ceilometer (meter|sample|alarm)-list then I'd recommend to check 'connection' options in your ceilometer.conf, probably U have different database configured than 'ceilometer'

edit flag offensive delete link more


I resolved that the connection is using a sqlite file and mongodb. I only change one connection using mongodb in ceilometer.conf. Thanks yprokule !

Lee gravatar imageLee ( 2016-02-19 02:04:45 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-02-04 03:02:26 -0500

Seen: 832 times

Last updated: Feb 18 '16