hello community
im trying to pull tables via telegraf snmp.input with no success.
when executing snmptable command i getting an error.
even when trying to pull the table fields separately I get no data.
all OIDs work fine using snmpwalk.
all MIBs are loaded.
on the other hand, pulling IF tables I have no issue.
im having the same issue with another table as well (lldp remote).
im using telegraf 1.22.1 on ubuntu 18.04.
attached below are the configuration and the commands outputs and part of the MIB reference.
appreciate any tip or advice on how to proceed from here.
best regards
config
[[inputs.snmp.table]]
oid = ".1.3.6.1.4.1.1625.2.3.2.3.1"
name = "subtable"
inherit_tags = ["hostname"]
index_as_tag = true
[[inputs.snmp.table.field]]
name = "subname"
oid = ".1.3.6.1.4.1.1625.2.3.2.3.1.2"
is_tag = true
[[inputs.snmp.table.field]]
name = "subuse"
oid = ".1.3.6.1.4.1.1625.2.3.2.3.1.8"
is_tag = true
snmptable output
snmptable -v2c -c younity 172.17.109.2 NSW-DHCP-MIB::nswDHCPSubnetEntry
Was that a table? NSW-DHCP-MIB::nswDHCPSubnetEntry
snmpwalk ouput (parts of it)
root@t-building-exporter:~# snmpwalk -v2c -c younity 172.17.109.2 .1.3.6.1.4.1.1625.2.3.2.3.1 | more
SNMPv2-SMI::enterprises.1625.2.3.2.3.1.2.1 = STRING: "172.17.109.0"
SNMPv2-SMI::enterprises.1625.2.3.2.3.1.2.2 = STRING: "172.18.132.0"
SNMPv2-SMI::enterprises.1625.2.3.2.3.1.2.3 = STRING: "10.0.88.0"
SNMPv2-SMI::enterprises.1625.2.3.2.3.1.2.4 = STRING: "10.1.0.0"
SNMPv2-SMI::enterprises.1625.2.3.2.3.1.2.5 = STRING: "10.11.1.0"
SNMPv2-SMI::enterprises.1625.2.3.2.3.1.2.6 = STRING: "10.11.2.0"
SNMPv2-SMI::enterprises.1625.2.3.2.3.1.2.7 = STRING: "10.11.3.0"
SNMPv2-SMI::enterprises.1625.2.3.2.3.1.2.8 = STRING: "10.11.4.0"
SNMPv2-SMI::enterprises.1625.2.3.2.3.1.2.9 = STRING: "10.11.5.0"
SNMPv2-SMI::enterprises.1625.2.3.2.3.1.3.1 = STRING: "Added automatically to match listening network interface"
SNMPv2-SMI::enterprises.1625.2.3.2.3.1.3.2 = STRING: "access vlan 2"
SNMPv2-SMI::enterprises.1625.2.3.2.3.1.3.3 = STRING: "Created by Infinity IPAM : guests - guests"
SNMPv2-SMI::enterprises.1625.2.3.2.3.1.3.4 = STRING: "Created by Infinity IPAM : staff - staff"
SNMPv2-SMI::enterprises.1625.2.3.2.3.1.3.5 = STRING: "Created by Infinity IPAM : V1101 - Cust"
SNMPv2-SMI::enterprises.1625.2.3.2.3.1.3.6 = STRING: "Created by Infinity IPAM : V1102 - Cust"
SNMPv2-SMI::enterprises.1625.2.3.2.3.1.3.7 = STRING: "Created by Infinity IPAM : V1103 - Cust"
SNMPv2-SMI::enterprises.1625.2.3.2.3.1.3.8 = STRING: "Created by Infinity IPAM : V1104 - Cust"
SNMPv2-SMI::enterprises.1625.2.3.2.3.1.3.9 = STRING: "Created by Infinity IPAM : V1105 - Cust"
SNMPv2-SMI::enterprises.1625.2.3.2.3.1.3.10 = STRING: "Created by Infinity IPAM : V1106 - Cust"
SNMPv2-SMI::enterprises.1625.2.3.2.3.1.8.1 = Gauge32: 9
SNMPv2-SMI::enterprises.1625.2.3.2.3.1.8.2 = Gauge32: 284
SNMPv2-SMI::enterprises.1625.2.3.2.3.1.8.3 = Gauge32: 153
SNMPv2-SMI::enterprises.1625.2.3.2.3.1.8.4 = Gauge32: 0
SNMPv2-SMI::enterprises.1625.2.3.2.3.1.8.5 = Gauge32: 1
SNMPv2-SMI::enterprises.1625.2.3.2.3.1.8.6 = Gauge32: 1
SNMPv2-SMI::enterprises.1625.2.3.2.3.1.8.7 = Gauge32: 3
SNMPv2-SMI::enterprises.1625.2.3.2.3.1.8.8 = Gauge32: 1
SNMPv2-SMI::enterprises.1625.2.3.2.3.1.8.9 = Gauge32: 1
snmpwalk using OID name
root@t-building-exporter:~# snmpwalk -v2c -c younity 172.17.109.2 NSW-DHCP-MIB::nswDHCPSubnetEntry | more
NSW-DHCP-MIB::nswDHCPSubnetName.1 = STRING: 172.17.109.0
NSW-DHCP-MIB::nswDHCPSubnetName.2 = STRING: 172.18.132.0
NSW-DHCP-MIB::nswDHCPSubnetName.3 = STRING: 10.0.88.0
NSW-DHCP-MIB::nswDHCPSubnetName.4 = STRING: 10.1.0.0
NSW-DHCP-MIB::nswDHCPSubnetName.5 = STRING: 10.11.1.0
NSW-DHCP-MIB::nswDHCPSubnetName.6 = STRING: 10.11.2.0
NSW-DHCP-MIB::nswDHCPSubnetName.7 = STRING: 10.11.3.0
NSW-DHCP-MIB::nswDHCPSubnetName.8 = STRING: 10.11.4.0
NSW-DHCP-MIB::nswDHCPSubnetName.9 = STRING: 10.11.5.0
NSW-DHCP-MIB::nswDHCPSubnetName.10 = STRING: 10.11.6.0
NSW-DHCP-MIB::nswDHCPSubnetDescription.1 = STRING: Added automatically to match listening network interface
NSW-DHCP-MIB::nswDHCPSubnetDescription.2 = STRING: access vlan 2
NSW-DHCP-MIB::nswDHCPSubnetDescription.3 = STRING: Created by Infinity IPAM : guests - guests
NSW-DHCP-MIB::nswDHCPSubnetDescription.4 = STRING: Created by Infinity IPAM : staff - staff
NSW-DHCP-MIB::nswDHCPSubnetDescription.5 = STRING: Created by Infinity IPAM : V1101 - Cust
NSW-DHCP-MIB::nswDHCPSubnetDescription.6 = STRING: Created by Infinity IPAM : V1102 - Cust
NSW-DHCP-MIB::nswDHCPSubnetDescription.7 = STRING: Created by Infinity IPAM : V1103 - Cust
NSW-DHCP-MIB::nswDHCPSubnetDescription.8 = STRING: Created by Infinity IPAM : V1104 - Cust
NSW-DHCP-MIB::nswDHCPSubnetDescription.9 = STRING: Created by Infinity IPAM : V1105 - Cust
NSW-DHCP-MIB::nswDHCPSubnetDescription.10 = STRING: Created by Infinity IPAM : V1106 - Cust
NSW-DHCP-MIB::nswDHCPSubnetDescription.11 = STRING: Created by Infinity IPAM : V1107 - Cust
NSW-DHCP-MIB::nswDHCPSubnetDynamicAddressesUsed.1 = Gauge32: 9
NSW-DHCP-MIB::nswDHCPSubnetDynamicAddressesUsed.2 = Gauge32: 284
NSW-DHCP-MIB::nswDHCPSubnetDynamicAddressesUsed.3 = Gauge32: 153
NSW-DHCP-MIB::nswDHCPSubnetDynamicAddressesUsed.4 = Gauge32: 0
NSW-DHCP-MIB::nswDHCPSubnetDynamicAddressesUsed.5 = Gauge32: 1
NSW-DHCP-MIB::nswDHCPSubnetDynamicAddressesUsed.6 = Gauge32: 1
NSW-DHCP-MIB::nswDHCPSubnetDynamicAddressesUsed.7 = Gauge32: 3
snmptranslate
~# snmptranslate .1.3.6.1.4.1.1625.2.3.2.3.1
SNMPv2-SMI::enterprises.1625.2.3.2.3.1