Telegraf not collecting SNMP data

telegraf
#1

Hi - I’m trying to have telegraf retrieve SNMP data from some of our ESXi servers, however no information is coming in. I have validated that snmpwalk to the device works fine. I can see it creating the influxdb database, but no measurments or other data are coming in.

I’m probably doing something stupid, but thought I’d boil it down to a simple metric gather, but no dice.
All help appreciated!

Relevant telegraf.conf:

[[inputs.snmp]]
agents = [ “10.zz.yy.xx:161” ]
version = 1
timeout = “5s”
retries = 3

community = “thecommunity”
name = “snmp”
max_repetitions = 200

[[inputs.snmp.field]]
name = “mtu”
oid = “.1.3.6.1.2.1.2.2.1.4.1”
is_tag = true

[[outputs.influxdb]]
urls = [“http://the.correct.ip.address:8086”]

database = “telegraf-snmp”

System info:

Ubuntu 16.04

[Include Telegraf version, operating system name, and other relevant details]
Containerised (docker-ce) telegraf container: Telegraf 1.9.4

Installed SNMP
libsnmp-base/xenial-updates,xenial-updates,xenial-security,xenial-security,now 5.7.3+dfsg-1ubuntu4.2 all [installed,automatic]
libsnmp-dev/xenial-updates,xenial-security,now 5.7.3+dfsg-1ubuntu4.2 amd64 [installed]
libsnmp30/xenial-updates,xenial-security,now 5.7.3+dfsg-1ubuntu4.2 amd64 [installed,automatic]
snmp/xenial-updates,xenial-security,now 5.7.3+dfsg-1ubuntu4.2 amd64 [installed]
snmp-mibs-downloader/xenial,xenial,now 1.1 all [installed]

Steps to reproduce:

  1. Configure, install and run container
  2. Smile Smile Smile

Expected behavior:

Data entering influxdb

Actual behavior:

no output

Additional info:

Output Logs for Telegraf

2019-02-19T05:54:11Z I! Starting Telegraf 1.9.4
2019-02-19T05:54:11Z I! Using config file: /etc/telegraf/telegraf.conf
2019-02-19T05:54:11Z I! Loaded inputs: inputs.snmp
2019-02-19T05:54:11Z I! Loaded aggregators:
2019-02-19T05:54:11Z I! Loaded processors:
2019-02-19T05:54:11Z I! Loaded outputs: influxdb
2019-02-19T05:54:11Z I! Tags enabled: host=mpc-snmp-telegraf
2019-02-19T05:54:11Z I! [agent] Config: Interval:10s, Quiet:false, Hostname:“mpc-snmp-telegraf”, Flush Interval:10s
2019-02-19T05:54:11Z D! [agent] Connecting outputs
2019-02-19T05:54:11Z D! [agent] Attempting connection to output: influxdb
2019-02-19T05:54:11Z D! [agent] Successfully connected to output: influxdb
2019-02-19T05:54:11Z D! [agent] Starting service inputs
2019-02-19T05:54:30Z D! [outputs.influxdb] buffer fullness: 0 / 10000 metrics.
2019-02-19T05:54:40Z D! [outputs.influxdb] buffer fullness: 0 / 10000 metrics.
2019-02-19T05:54:50Z D! [outputs.influxdb] buffer fullness: 0 / 10000 metrics.
2019-02-19T05:55:00Z D! [outputs.influxdb] buffer fullness: 0 / 10000 metrics.
2019-02-19T05:55:10Z D! [outputs.influxdb] buffer fullness: 0 / 10000 metrics.
2019-02-19T05:55:20Z D! [outputs.influxdb] buffer fullness: 0 / 10000 metrics.
2019-02-19T05:55:30Z D! [outputs.influxdb] buffer fullness: 0 / 10000 metrics.
2019-02-19T05:55:40Z D! [outputs.influxdb] buffer fullness: 0 / 10000 metrics.
2019-02-19T05:55:50Z D! [outputs.influxdb] buffer fullness: 0 / 10000 metrics.
2019-02-19T05:56:00Z D! [outputs.influxdb] buffer fullness: 0 / 10000 metrics.
2019-02-19T05:56:10Z D! [outputs.influxdb] buffer fullness: 0 / 10000 metrics.
2019-02-19T05:56:20Z D! [outputs.influxdb] buffer fullness: 0 / 10000 metrics.
2019-02-19T05:56:30Z D! [outputs.influxdb] buffer fullness: 0 / 10000 metrics.
2019-02-19T05:56:40Z D! [outputs.influxdb] buffer fullness: 0 / 10000 metrics.
2019-02-19T05:56:50Z D! [outputs.influxdb] buffer fullness: 0 / 10000 metrics.
2019-02-19T05:57:00Z D! [outputs.influxdb] buffer fullness: 0 / 10000 metrics.
2019-02-19T05:57:10Z D! [outputs.influxdb] buffer fullness: 0 / 10000 metrics.
2019-02-19T05:57:20Z D! [outputs.influxdb] buffer fullness: 0 / 10000 metrics.
2019-02-19T05:57:30Z D! [outputs.influxdb] buffer fullness: 0 / 10000 metrics.
2019-02-19T05:57:40Z D! [outputs.influxdb] buffer fullness: 0 / 10000 metrics.
2019-02-19T05:57:50Z D! [outputs.influxdb] buffer fullness: 0 / 10000 metrics.
2019-02-19T05:58:00Z D! [outputs.influxdb] buffer fullness: 0 / 10000 metrics.
2019-02-19T05:58:10Z D! [outputs.influxdb] buffer fullness: 0 / 10000 metrics.
2019-02-19T05:58:20Z D! [outputs.influxdb] buffer fullness: 0 / 10000 metrics.
2019-02-19T05:58:30Z D! [outputs.influxdb] buffer fullness: 0 / 10000 metrics.