Ask Your Question

How to get hardware info using ceilometer?

asked 2014-12-15 00:53:59 -0600

yamamodo gravatar image


I'm trying to get hardware info like "" using ceilometer The environment of my sys is : Ubuntu14.04 Icehouse all_in_one scenario Run in vmware player!

After I goole some info about that,I do the following steps:

1.install snmpd-->apt-get install snmpd


view systemonly included .1 && agentAddress udp:161,udp6:[::1]:161 in "/etc/snmp/snmpd.conf


sources: ...................

  - name: hardware_source
  interval: 600
      - "hardware.*" 
      - snmp://
      - meter_sink

IN /etc/ceilometer/pipeline.yaml

4.restart ceilometer services


And I type: ceilometer meter-list

I still can't see any hardware info

can anyone tell me how to get the hardware info?


edit retag flag offensive close merge delete


Hi yamamodo, if you got hardware.* or snmp meters working, can you please share your

  • /etc/snmp/snmpd.conf
  • /etc/ceilometer/pipeline.yaml

configuration files ?

Rakesh Patnaik gravatar imageRakesh Patnaik ( 2015-03-23 11:13:42 -0600 )edit

I'm having the same problem here. I have the pipeline.yaml file configured exactly how it's shown below (with the exception of it being juno and there are some syntax differences). SNMP works fine. I can run snmpwalk with no issues. Everything appears to be fine, but nothing in database. Help

jsd79 gravatar imagejsd79 ( 2015-10-25 19:24:00 -0600 )edit

1 answer

Sort by » oldest newest most voted

answered 2014-12-19 21:41:19 -0600

9lives gravatar image

First, you need to make sure the snmp work by using snmpwalk utility

  snmpwalk –v 2c -c public  snmp_server_ip

Second, make sure the hardware related stevdore plugins are registered in setup.cfg or entry_point.txt in your ceilometer package.

energy =
hardware.cpu.load.15min = ceilometer.hardware.pollsters.cpu:CPULoad15MinPollster
hardware.cpu.load.1min = ceilometer.hardware.pollsters.cpu:CPULoad1MinPollster
hardware.cpu.load.5min = ceilometer.hardware.pollsters.cpu:CPULoad5MinPollster = ceilometer.hardware.pollsters.disk:DiskTotalPollster
hardware.disk.size.used = ceilometer.hardware.pollsters.disk:DiskUsedPollster
hardware.memory.swap.avail = ceilometer.hardware.pollsters.memory:MemorySwapAvailPollster = ceilometer.hardware.pollsters.memory:MemorySwapTotalPollster

snmp = ceilometer.hardware.inspector.snmp:SNMPInspector

Thirdly, check if any error in the ceilometer related logs , normally it might be the keystone authentication issue, if that is the case, check the configuration in ceilometer.conf for [keystone_authtoken].

Finally, make sure your meter_sink does not filter out the hardware meterics, you can use "*" for all metrics like this

 - name: meter_sink
          meter: "*"
              - notifier://?per_meter_topic=1

Note that: there is a major change in the juno release in code structure, the above solution is based on icehouse version. Hope that helps!


edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-12-15 00:53:59 -0600

Seen: 2,557 times

Last updated: Dec 19 '14