Ask Your Question

How to change the polling period of ceilometer?

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

cloud gravatar image

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

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 -0500

sgordon gravatar image

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

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 -0500 )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 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


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

Seen: 2,258 times

Last updated: Oct 17 '13