Ask Your Question
1

Ceilometer some meters missing

asked 2014-07-22 23:21:13 -0500

sasakii gravatar image

Hi

I am installing Openstack by Devstack icehouce/stable, but some meters did not show up when I execute

ceilometer meter-list

such as "cpu_util".

I only get "image", "image.delete", "image.download", "image.serve", "image.size", "image.update", "volume", "volume.size", even there are some instances activated.

The following is a setting about Ceilometer in my localrc

EXTRA_OPTS=(notification_driver=nova.openstack.common.notifier.rabbit_notifier,ceilometer.compute.nova_notifier)
ENABLED_SERVICES+=,ceilometer-acompute,ceilometer-acentral,ceilometer-collector,ceilometer-api,ceilometer-anotification
ENABLED_SERVICES+=,ceilometer-alarm-notifier,ceilometer-alarm-evaluator
CEILOMETER_BACKEND=mongodb
# Ceilometer version
CEILOMETER_BRANCH=stable/icehouse

And some relative settings in nova.conf are

notification_driver = nova.openstack.common.notifier.rabbit_notifier,ceilometer.compute.nova_notifier
notify_on_state_change = vm_and_task_state
instance_usage_audit_period = hour
instance_usage_audit = True

Any help is much appreciated. Thanks.

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
1

answered 2014-07-23 05:50:13 -0500

sasakii gravatar image

(This reply might be exceed the limit of comment, so I reply here.) Yes!! It is fresh, and I have launched two instances for several hours, but the meter "cpu_util" does not show up. Actually I reset the devstack by remove

EXTRA_OPTS=(notification_driver=nova.openstack.common.notifier.rabbit_notifier,ceilometer.compute.nova_notifier)

in localrc and add

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

in the nova configure meta-section of local.conf.

The nova.conf turns out to look like this

notification_driver = ceilometer.compute.nova_notifier
notify_on_state_change = vm_and_task_state
instance_usage_audit_period = hour
instance_usage_audit = True

Then I can see some of meters of nova show up, like "cpu", "desk.*"...(The first time, I get no meters of nova). But I think the problem might be the missing of another notification driver

notification_driver = nova.openstack.common.notifier.rabbit_notifier

so I add it to the nova.conf by myself and execute ./rejoin_stack.sh.

Unfortunately, the "cpu_util" does not show up in the meter list still, after I launched several instances for more than half hours.

Any help is much appreciated. Thanks.

edit flag offensive delete link more
0

answered 2015-12-28 05:08:49 -0500

Mohit gravatar image

updated 2015-12-28 05:10:20 -0500

Hello,

I understand this is very old thread , but i had also the same issue on Kilo install, On fresh install of kilo , ceilometer meter-list shows up only few meters such as "image", "image.delete", "image.download", "image.serve", "image.size", "image.update", "volume", "volume.size",

SOLUTION - On adding up a stack with scaleup_policy and cpu_alarm_high policy on .yaml file defining the os parameters , i found all of the meters were updated with the values that you are looking for after creating the stack from .yaml file

edit flag offensive delete link more

Comments

Hi Mohit, can you explain a bit more how to add stack for scaleup_policy & cpu_alarm_high policy on .yaml file.

vikrant gravatar imagevikrant ( 2017-04-28 02:14:32 -0500 )edit
0

answered 2014-11-19 03:23:27 -0500

amitabh sinha gravatar image

Hi, im also facing same issue, but my set up is multinode Havana. I can see only image.size, image image.download, image.serve meters in #ceilometer meter-list. and I am facing other issues as-

My ceilometer-agent-compute stop/waiting. I followed all the steps in http://docs.openstack.org/havana/inst...

I can create a meter and a alarm for that meter, but every alarm is going in insufficeint_data_action Plaese tell me how to proceed.

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-07-22 23:21:13 -0500

Seen: 2,190 times

Last updated: Dec 28 '15