[solved] Telegraf influxDB Cisco SNMP

Hi!
I was using the same plugin, and metrics and here you have my config:

[[inputs.snmp]]
agents = [ “xx.xx.xx.xx:161”,“xx.xx.xx.xx:161” ]
version = 2
community = "comunity"
name = “snmp”

[[inputs.snmp.field]]
   name = "hostname"
   oid = "RFC1213-MIB::sysName.0"
   is_tag = true

[[inputs.snmp.table]]
   name = "snmp"
   inherit_tags = [ "hostname" ]
   oid = "IF-MIB::ifXTable"

   [[inputs.snmp.table.field]]
     name = "ifName"
     oid = "IF-MIB::ifName"
     is_tag = true

With this is working fine.
the only one difference is, Im collecting the entire table.
try it!

1 Like