Ask Your Question
2

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 delete

1 answer

Sort by ยป oldest newest most voted
2

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

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 http://docs.openstack.org/developer/ceilometer/measurements.html

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

Comments

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 ( 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 ( 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]

Question Tools

Follow
1 follower

Stats

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

Seen: 489 times

Last updated: Oct 17 '13