How to get SNMP data into Ceilometer (Juno)

asked 2015-10-25 20:10:05 -0500

jsd79 gravatar image

I'm running the juno release and I'm trying to get SNMP data collected. I have two nodes - the first is my devstack box and the second is a box I'm running hyperglance on. On the hyperglance box, I have snmpd running and I can successfully run snmpwalk against it both locally and from the devstack server.

I've configured the pipeline.yaml file, checked the setup.cfg for ceilometer, and restarted ceilometer-agent-central. I'm not getting any hardware meters to show up in the meter-list. I don't see any errors in logs anywhere, with the exception of a neutron error (404 not found) in the acentral.log file. I'm not sure if that's related or not, but I didn't think so.

....
- name: meter_snmp
  interval: 60
  resources:
      - snmp://public@192.168.43.174
  meters:
      - "hardware.cpu*"
      - "hardware.disk*"
      - "hardware.memory*"
      - "hardware.network*"
  sinks:
      - snmp_sink

sinks:
- name: snmp_sink
  meter: "*"
  transformers:
  publishers:
      - notifier://?per_meter_topic=1

Can someone help me with this?

edit retag flag offensive close merge delete

Comments

Just an update, I've added an additional publisher (file:///foo/bar/file.txt) and the file is empty. So, it appears nothing is being published per what is configured in pipeline.yaml. Anyone? Thoughts?

jsd79 gravatar imagejsd79 ( 2015-10-27 10:59:13 -0500 )edit

can you remove the new addtional publisher and try again?

ZhiQiang Fan gravatar imageZhiQiang Fan ( 2015-11-14 07:21:21 -0500 )edit

@jsd79, have U managed to get SNMP meters?

yprokule gravatar imageyprokule ( 2016-02-09 00:55:02 -0500 )edit