Hi everyone,
I am trying to collect data using snmp plugin.
[[inputs.snmp]]
version = 2
name = "snmp"
[[inputs.snmp.field]]
oid = "RFC1213-MIB::sysName.0"
name = "hostname"
is_tag = true
[[inputs.snmp.table]]
name = "snmp"
oid = "IF-MIB::ifTable"
inherit_tags = ["hostname"]
[[inputs.snmp.field]]
name = "ifName"
oid = "IF-MIB::ifName"
is_tag = true
This config currently works and gathers inferface information. Yet, I want to collect other informations beside IF. I’ve tried to collect from the start of the table.
snmptranslate .1.3.6.1.4.1.9.1.2494
SNMPv2-SMI::enterprises.9.1.2494
Config:
[[inputs.snmp.table]]
name = "snmp"
oid = "SNMPv2-SMI::enterprises.9.1.2494"
inherit_tags = ["hostname"]
Error:
2020-03-12T07:03:42Z E! [inputs.snmp] Error in plugin: initializing table snmp: getting table columns: exit status 1: Was that a table? SNMPv2-SMI::enterprises.9.1.2494
Can you share a better configuration or a link to a documentation.