howt to get hardware info using ceilometer

asked 2014-12-15 01:04:00 -0500

yamamodo gravatar image

hi~

I'm trying to get hardware info like "hardware.memory.total" 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

2.add:

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

3.add:

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

  - name: hardware_source
  interval: 600
  meters:
      - "hardware.*" 
  resources:
      - snmp://192.168.52.148
  sinks:
      - meter_sink

IN /etc/ceilometer/pipeline.yaml

4.restart ceilometer services

(ceilometer-agent-central,ceilometer-agent-compute,ceilometer-agent-notification,ceilometer-api,ceilometer-collector)

And I type: ceilometer meter-list

I still can't see any hardware info (no new item was added)

can anyone tell me how to get the hardware info?

thanks!

edit retag flag offensive close merge delete