Help with snmp telegraf config (below), it works then stops

Hello,

I’ve been using telegraf to send data into my InfluxDB and it’s been great, especially in Grafana.

However my latest telegraf.conf file is bemusing me, it’s pulling snmp information from a router. It works if I use the below config where I’m hashing most so it just pulls in 1 bit of information.

telegraf.d/mytelegraf.conf

However if I allow the section in the config to retrieve the ‘uptime’ of the router all data stops coming in for these routers. I have to remove my last step, drop the database and start again to work.

An SNMP walk shows this:

snmpwalk -v2c -c password 10.7.17.151 1.3.6.1.2.1.25.1.1.0

iso.3.6.1.2.1.25.1.1.0 = Timeticks: (4961678) 13:46:56.78

This is the config that seems to corrupt things edited telegraf.conf I’ve just allowed the extra lines the ‘uptime’, ‘name’ and ‘location’ SNMP OID info:

This is what returns from a SNMP walk:

snmpwalk -v2c -c password 10.7.17.151 1.3.6.1.2.1.1.5.0

iso.3.6.1.2.1.1.5.0 = STRING: "CVN-C1-01"
snmpwalk -v2c -c password 10.7.17.151 1.3.6.1.2.1.1.6.0

iso.3.6.1.2.1.1.6.0 = STRING: "Coventry"

Can you think if what might be stopping the stats from showing in Grafana?