Ask Your Question

How to change the polling period of ceilometer?

asked 2013-10-10 16:09:17 -0600

cloud gravatar image

updated 2013-10-11 17:30:50 -0600

smaffulli gravatar image

Hello, the default polling period for ceilometer is 10 mins. I want to change it. Can any body help me in this regards? Thank you

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-10-12 14:08:34 -0600

sgordon gravatar image

updated 2013-10-17 12:25:40 -0600

Edit the interval values in the /etc/ceilometer/pipeline.yaml file. The interval values are specified in seconds, so 600 seconds is 10 minutes. You may need to restart the Ceilometer service for the change to take effect.

In the default pipeline.yaml file the interval value for the meter_pipeline sets the default interval for all meters (as indicated by setting meters to * in the corresponding block).

The interval value is then repeated for the cpu_pipeline, which is included in the file so that some additional settings related to the transformation of the cpu meter can be supplied. A full list of available meters is available in the documentation at

    name: meter_pipeline
    interval: 600
        - "*"
        - rpc://
    name: cpu_pipeline
    interval: 600
        - "cpu"
        - name: "rate_of_change"
                  name: "cpu_util"
                  unit: "%"
                  type: "gauge"
                  scale: "100.0 / (10**9 * (resource_metadata.cpu_number or 1))"
        - rpc://
edit flag offensive delete link more


sgordon, Thank you for your reply. However can you please shed some light on this (related to polling period) name: meter_pipeline interval: 60 meters: - "*" transformers: publishers: - rpc:// - name: cpu_pipeline interval: 60 meters: - "cpu" There are two interval. which interval is for what?

cloud gravatar imagecloud ( 2013-10-17 12:09:25 -0600 )edit

I have updated my answer, but the TL;DR; is that one sets the global default and one sets the interval for a specific meter.

sgordon gravatar imagesgordon ( 2013-10-17 12:26:27 -0600 )edit

sgordon what is the command to restart ceilometer services? I changed the interval values in pipeline.yaml but don't know how to make them active. I am using Openstack Liberty on Ubuntu 14.04. Thanks

gh0st1986 gravatar imagegh0st1986 ( 2016-09-30 02:01:15 -0600 )edit

Here's an example from the installation guide, you may need to modify on 14.04 as I can not recall if it was still using upstart or not:

sgordon gravatar imagesgordon ( 2016-11-09 17:20:01 -0600 )edit

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


Asked: 2013-10-10 16:09:17 -0600

Seen: 3,046 times

Last updated: Oct 17 '13