Ask Your Question
1

ceilometer polling interval not reflecting pipeline.yaml

asked 2015-01-15 15:13:32 -0500

tmnd91 gravatar image

updated 2015-01-18 07:56:56 -0500

Hi everybody, I need to monitor the cloud using ceilometer with polling interval of 60 seconds (all the data is processed by a stream processor cluster). I changed the value of the in the interval field in pipeline.yaml as i've seen in official guides and then i restarted ceilometer services in every node of the cluster. The problem is that when I query the web api ceilometer endpoint I can see that samples are collected every hour and not every 60 seconds. Is there any other configuration file to edit? The openstack version is icehouse. The content of pipeline.yaml is the following:

---
sources:
- name: meter_source
  interval: 60
  meters:
      - "*"
  sinks:
      - meter_sink
- name: cpu_source
  interval: 60
  meters:
      - "cpu"
  sinks:
      - cpu_sink
- name: disk_source
  interval: 60
  meters:
      - "disk.read.bytes"
      - "disk.read.requests"
      - "disk.write.bytes"
      - "disk.write.requests"
  sinks:
      - disk_sink
- name: network_source
  interval: 60
  meters:
      - "network.incoming.bytes"
      - "network.incoming.packets"
      - "network.outgoing.bytes"
      - "network.outgoing.packets"
  sinks:
      - network_sink
sinks:
    - name: meter_sink
      transformers:
      publishers:
          - rpc://
    - name: cpu_sink
      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://
    - name: disk_sink
      transformers:
          - name: "rate_of_change"
            parameters:
                source:
                    map_from:
                        name: "disk\\.(read|write)\\.(bytes|requests)"
                        unit: "(B|request)"
                target:
                    map_to:
                        name: "disk.\\1.\\2.rate"
                        unit: "\\1/s"
                    type: "gauge"
      publishers:
          - rpc://
    - name: network_sink
      transformers:
          - name: "rate_of_change"
            parameters:
                source:
                   map_from:
                       name: "network\\.(incoming|outgoing)\\.(bytes|packets)"
                       unit: "(B|packet)"
                target:
                    map_to:
                        name: "network.\\1.\\2.rate"
                        unit: "\\1/s"
                    type: "gauge"
      publishers:
          - rpc://

Here's the last 350 lines of log: http://paste.openstack.org/show/158575/

Thank you!

edit retag flag offensive close merge delete

Comments

Which version of openstack?could you paste the pipeline.yaml by editing your original question?

9lives gravatar image9lives ( 2015-01-15 16:44:06 -0500 )edit

looks like the yaml file is good, could you paste the ceilometer related logs to paste.openstack.org?need more details to trouble this issue.

9lives gravatar image9lives ( 2015-01-17 20:18:23 -0500 )edit

anymore logs for ceilometer especially, ceilometer-api and ceilometer components?

9lives gravatar image9lives ( 2015-01-18 22:04:46 -0500 )edit

Hey, have solved this yet? I'm encountering the same issue here. Could you share your solutions? Thx

guoger gravatar imageguoger ( 2015-05-27 20:54:51 -0500 )edit

Hey, has anyone solved this problem yet? I need the solution. Thanks

mathsyouth gravatar imagemathsyouth ( 2015-12-22 01:19:18 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-05-14 15:07:52 -0500

piotrkopec gravatar image

You need to modify pipeline.yaml on the compute nodes and restart ceilometer-compute service in order to change interval for cpu_soruce

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

4 followers

Stats

Asked: 2015-01-15 15:13:32 -0500

Seen: 884 times

Last updated: Jan 18 '15