← Back to team overview

openstack team mailing list archive

Re: [ceilometer] how to enable cpu meter?

 

On Tue, May 28, 2013 at 4:13 PM, Julien Danjou <julien@xxxxxxxxxxx> wrote:

> On Tue, May 28 2013, alexander barakin wrote:
>
> > i use fresh devstack without local modifications on ubuntu 12.04
> > i have run the example image cirros-0.3.1-x86_64-uec and see the
> following
> > meters in output of "ceilometer meter-list":
>
> You need to run `ceilometer-agent-compute'.
>

this process works.
output in devstack screen "ceilometer-acompute" tab:
 $ cd /opt/stack/last/ceilometer && sg libvirtd
"/opt/stack/last/ceilometer/bin/ceilometer-agent-compute --config-file
/etc/ceilometer/ceilometer.conf" || touch
"/opt/stack/last/status/stack/ceilometer-acompute.failure"
2013-05-28 13:34:48     INFO [ceilometer.pipeline] Pipeline config:
[{'publishers': ['meter'], 'interval': 600, 'transformers': None, 'name':
'meter_pipeline', 'counters': ['*']}]
2013-05-28 13:34:48     INFO [ceilometer.openstack.common.rpc.common]
Connected to AMQP server on localhost:5672
2013-05-28 13:34:48     INFO [requests.packages.urllib3.connectionpool]
Starting new HTTP connection (1): 10.4.128.1
2013-05-28 13:34:48     INFO [requests.packages.urllib3.connectionpool]
Starting new HTTP connection (1): 10.4.128.1
2013-05-28 13:34:50    AUDIT [ceilometer.pipeline] Flush pipeline
meter_pipeline
2013-05-28 13:44:48    AUDIT [ceilometer.pipeline] Flush pipeline
meter_pipeline
...

p.s. i forgot to mention about this line in devstack's localrc:
enable_service
ceilometer-acompute,ceilometer-acentral,ceilometer-collector,ceilometer-api

References