# Telegraf inputs.snmp.table not reporting entire table

**URL:** https://community.influxdata.com/t/telegraf-inputs-snmp-table-not-reporting-entire-table/24029
**Category:** Telegraf
**Tags:** snmp
**Created:** [February 26, 2022, 7:47pm UTC](https://community.influxdata.com/t/telegraf-inputs-snmp-table-not-reporting-entire-table/24029 "2022-02-26T19:47:20Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![MarcelV](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/marcelv/32/9571_2.png) [@MarcelV](https://community.influxdata.com/u/MarcelV)
#### Post date: [February 26, 2022, 7:47pm UTC](https://community.influxdata.com/t/telegraf-inputs-snmp-table-not-reporting-entire-table/24029/1 "2022-02-26T19:47:21Z")

</div>

Hi there, new Influx and Telegraf user here.

I’m having an issue with getting data from an SNMP table via Telegraf (inputs.snmp.table).  
My query only ever returns one entry even though there are multiple entries expected.

My config looks like this…

```auto
[[inputs.snmp]]
  agents = ["x.x.x.x"]
  version = 2
  community = "xxxxx"
  interval = "30s"
  timeout = "10s"   
  retries = 1
  max_repetitions = 20
  name = "aruba_mobility_master"

[[inputs.snmp.table]]
	  name = "SysXProcessorTable"
	  oid = "WLSX-SWITCH-MIB::wlsxSysXProcessorTable"

```

I’ve also tried specifying the individual table fields with “inputs.snmp.table.field” but I get the same result, just one entry (picks a random entry to write to Influx).

I’ve run snmpwalk and snmptable on this OID and it returns ALL of the expected data.  
No “is this a table?” error or suchlike.

```auto
$ snmptable -v 2c -c xxxxx x.x.x.x WLSX-SWITCH-MIB::wlsxSysXProcessorTable
SNMP table: WLSX-SWITCH-MIB::wlsxSysXProcessorTable

      sysXProcessorDescr sysXProcessorLoad
     Supervisor Card CPU 6
  Network Processor CPU9 2
 Network Processor CPU10 4
 Network Processor CPU11 2
 Network Processor CPU12 2
 Network Processor CPU13 2
 Network Processor CPU14 2
 Network Processor CPU15 0

$ snmpwalk -v 2c -c xxxxxxx x.x.x.x WLSX-SWITCH-MIB::wlsxSysXProcessorTable  
WLSX-SWITCH-MIB::sysXProcessorDescr.1 = STRING: Supervisor Card CPU
WLSX-SWITCH-MIB::sysXProcessorDescr.9 = STRING: Network Processor CPU9
WLSX-SWITCH-MIB::sysXProcessorDescr.10 = STRING: Network Processor CPU10
WLSX-SWITCH-MIB::sysXProcessorDescr.11 = STRING: Network Processor CPU11
WLSX-SWITCH-MIB::sysXProcessorDescr.12 = STRING: Network Processor CPU12
WLSX-SWITCH-MIB::sysXProcessorDescr.13 = STRING: Network Processor CPU13
WLSX-SWITCH-MIB::sysXProcessorDescr.14 = STRING: Network Processor CPU14
WLSX-SWITCH-MIB::sysXProcessorDescr.15 = STRING: Network Processor CPU15
WLSX-SWITCH-MIB::sysXProcessorLoad.1 = INTEGER: 10
WLSX-SWITCH-MIB::sysXProcessorLoad.9 = INTEGER: 2
WLSX-SWITCH-MIB::sysXProcessorLoad.10 = INTEGER: 4
WLSX-SWITCH-MIB::sysXProcessorLoad.11 = INTEGER: 2
WLSX-SWITCH-MIB::sysXProcessorLoad.12 = INTEGER: 2
WLSX-SWITCH-MIB::sysXProcessorLoad.13 = INTEGER: 2
WLSX-SWITCH-MIB::sysXProcessorLoad.14 = INTEGER: 2
WLSX-SWITCH-MIB::sysXProcessorLoad.15 = INTEGER: 0

```

Telegraf reports no issue that I can see either. I’m running version 1.21.3

I’ve also tested the IF-MIB::ifTable and that works with the following code returning ALL the data for all the interfaces. It seems none of the private/Aruba tables want to work.

```auto
[[inputs.snmp.table]]
	  name = "InterfacesTable"
	  oid = "IF-MIB::ifTable"

```

I have run out of ideas and I’m hopeful that I’ve just done something silly or missed some thing.  
Any help is greatly appreciated. Thank you.

---

<div class="post-metadata">

### Author: ![Jay\_Clifford](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/jay_clifford/32/8287_2.png) [@Jay\_Clifford](https://community.influxdata.com/u/Jay_Clifford)
#### Post date: [February 28, 2022, 10:45am UTC](https://community.influxdata.com/t/telegraf-inputs-snmp-table-not-reporting-entire-table/24029/2 "2022-02-28T10:45:41Z")

</div>

Hi @MarcelV,  
Welcome to the community! Hopefully, I can help get the debug process started and if we need to bring one of the Telegraf big guns in we will. Could you also use the file output plugin to send your data to a file? Something like this would do:

```auto
[[outputs.file]]
  ## Files to write to, "stdout" is a specially handled file.
  files = ["stdout", "/tmp/metrics.out"]
  data_format = "influx"

```

This will allow us to see what data is being read directly from Telegraf in line protocol format. If you wouldn’t mind posting the results of that here that would be brilliant.

---

<div class="post-metadata">

### Author: ![MarcelV](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/marcelv/32/9571_2.png) [@MarcelV](https://community.influxdata.com/u/MarcelV)
#### Post date: [March 1, 2022, 1:13pm UTC](https://community.influxdata.com/t/telegraf-inputs-snmp-table-not-reporting-entire-table/24029/3 "2022-03-01T13:13:10Z")

</div>

Hi Jay

Thanks for the reply. I’ve run the output to file. I realise that I did this on a different table but the results are the same. Interestingly, if I read the output correctly it seems Telegraf is in fact reading the entire table but for some reason only 1 line appears in the InfluxDB. I’ve redacted some info and have not pasted the entire output. It’s pretty much 160 odd lines of the same then it loops again (I assume on the next query run).

```auto
aruba_controllers,agent_host=10.255.0.20,host=xxxx.example.com SysExtSwVersion="8.6.0.9",Sys_Name="Aruba7210-xxxxx",CpuUsedPercent=21i,MemoryUsedPercent=45i,Sys_Description="ArubaOS (MODEL: Aruba7210), Version 8.6.0.9 (xxxxxxx)" 1646137111000000000
WlanAPTable,agent_host=10.255.0.20,host=xxxx.example.com wlanAPIpAddress="10.196.233.114",wlanAPSerialNumber="xxxxxxx",wlanAPMeshRole=0i,wlanAPActiveUplink=1i,wlanAPSwitchIpAddress="10.255.0.20",wlanAPModel=".1.3.6.1.4.1.14823.1.2.102",wlanAPNumBootstraps=15i,wlanAPHwVersion="A1.0",wlanAPNumWarmReboots=1i,wlanAPStandbyIpAddress="0.0.0.0",wlanAPConnectedAsDatazone=0i,wlanAPNumRadios=2i,wlanAPIpsecMode=2i,wlanAPName="HF4160-13-5",wlanAPGroupName="controller.example.com.",wlanAPBuilding=0i,wlanAPNumReboots=11i,wlanAPRemoteLanIpAddress="10.196.233.114",wlanAPdot11gAntennaGain=0i,wlanAPEnet1Mode=1i,wlanAPUpTime=2455100i,wlanAPConnectedAsStandby=0i,wlanAPdot11aAntennaGain10x=255i,wlanAPModelName="535",wlanAPExternalAntenna=1i,wlanAPSwVersion="8.6.0.9",wlanAPOuterIpAddress="0.0.0.0",wlanAPdot11gAntennaGain10x=255i,wlanAPDual5GMode=3i,wlanAPLocation="Not Available",wlanAPFloor=0i,wlanAPLoc=0i,wlanAPFlexRadioMode=4i,wlanAPActiveIpAddress="10.196.233.114",wlanAPdot11aAntennaGain=0i,wlanAPStatus=1i,wlanAPUnprovisioned=2i,wlanAPMonitorMode=2i,wlanAPSplit5GMode=3i 1646137124000000000
WlanAPTable,agent_host=10.255.0.20,host=xxxx.example.com wlanAPGroupName="controller.example.com",wlanAPFloor=0i,wlanAPNumBootstraps=6i,wlanAPActiveIpAddress="10.196.40.189",wlanAPdot11aAntennaGain=0i,wlanAPSwVersion="8.6.0.9",wlanAPFlexRadioMode=4i,wlanAPdot11aAntennaGain10x=255i,wlanAPdot11gAntennaGain10x=255i,wlanAPIpAddress="10.196.40.189",wlanAPStatus=1i,wlanAPMonitorMode=2i,wlanAPActiveUplink=1i,wlanAPDual5GMode=3i,wlanAPModelName="225",wlanAPUnprovisioned=2i,wlanAPConnectedAsDatazone=0i,wlanAPBuilding=0i,wlanAPRemoteLanIpAddress="10.196.40.189",wlanAPModel=".1.3.6.1.4.1.14823.1.2.59",wlanAPLocation="Not Available",wlanAPNumWarmReboots=0i,wlanAPOuterIpAddress="0.0.0.0",wlanAPConnectedAsStandby=0i,wlanAPSplit5GMode=3i,wlanAPEnet1Mode=1i,wlanAPLoc=0i,wlanAPHwVersion="A1.0",wlanAPSwitchIpAddress="10.255.0.20",wlanAPExternalAntenna=1i,wlanAPNumReboots=2i,wlanAPName="HF4228-3-16",wlanAPSerialNumber="xxxxxxx",wlanAPdot11gAntennaGain=0i,wlanAPNumRadios=2i,wlanAPIpsecMode=2i,wlanAPUpTime=56845100i,wlanAPMeshRole=0i,wlanAPStandbyIpAddress="0.0.0.0" 1646137124000000000
WlanAPTable,agent_host=10.255.0.20,host=xxxx.example.com wlanAPNumWarmReboots=0i,wlanAPActiveIpAddress="10.196.41.251",wlanAPGroupName="example.com",wlanAPNumRadios=2i,wlanAPMeshRole=0i,wlanAPdot11aAntennaGain=0i,wlanAPLoc=0i,wlanAPConnectedAsDatazone=0i,wlanAPdot11aAntennaGain10x=255i,wlanAPUpTime=1037559100i,wlanAPStatus=1i,wlanAPOuterIpAddress="0.0.0.0",wlanAPMonitorMode=2i,wlanAPFlexRadioMode=4i,wlanAPIpAddress="10.196.41.251",wlanAPSerialNumber="xxxxxxxx",wlanAPNumReboots=1i,wlanAPActiveUplink=1i,wlanAPSwitchIpAddress="10.255.0.20",wlanAPStandbyIpAddress="0.0.0.0",wlanAPModel=".1.3.6.1.4.1.14823.1.2.48",wlanAPModelName="135",wlanAPFloor=0i,wlanAPLocation="Not Available",wlanAPSwVersion="8.6.0.9",wlanAPDual5GMode=3i,wlanAPUnprovisioned=2i,wlanAPRemoteLanIpAddress="10.196.41.251",wlanAPdot11gAntennaGain10x=255i,wlanAPName="HF4228-6-7",wlanAPEnet1Mode=1i,wlanAPExternalAntenna=1i,wlanAPNumBootstraps=5i,wlanAPHwVersion="A1.0",wlanAPConnectedAsStandby=0i,wlanAPSplit5GMode=3i,wlanAPdot11gAntennaGain=0i,wlanAPIpsecMode=2i,wlanAPBuilding=0i 1646137124000000000
WlanAPTable,agent_host=10.255.0.20,host=xxxx.example.com wlanAPHwVersion="A1.0",wlanAPActiveUplink=1i,wlanAPNumReboots=1001i,wlanAPModel=".1.3.6.1.4.1.14823.1.2.102",wlanAPdot11gAntennaGain=0i,wlanAPIpsecMode=2i,wlanAPNumBootstraps=7i,wlanAPUnprovisioned=2i,wlanAPNumWarmReboots=1i,wlanAPdot11aAntennaGain10x=255i,wlanAPGroupName="controller.example.com.",wlanAPUpTime=2455100i,wlanAPStatus=1i,wlanAPConnectedAsStandby=0i,wlanAPBuilding=0i,wlanAPLoc=0i,wlanAPOuterIpAddress="0.0.0.0",wlanAPEnet1Mode=1i,wlanAPSplit5GMode=3i,wlanAPSerialNumber="xxxxxx",wlanAPdot11aAntennaGain=0i,wlanAPNumRadios=2i,wlanAPIpAddress="10.196.233.77",wlanAPMonitorMode=2i,wlanAPdot11gAntennaGain10x=255i,wlanAPSwitchIpAddress="10.255.0.20",wlanAPStandbyIpAddress="0.0.0.0",wlanAPConnectedAsDatazone=0i,wlanAPFlexRadioMode=4i,wlanAPDual5GMode=3i,wlanAPModelName="535",wlanAPMeshRole=0i,wlanAPSwVersion="8.6.0.9",wlanAPActiveIpAddress="10.196.233.77",wlanAPExternalAntenna=1i,wlanAPRemoteLanIpAddress="10.196.233.77",wlanAPName="HF4160-4-1",wlanAPLocation="Not Available",wlanAPFloor=0i 1646137124000000000
WlanAPTable,agent_host=10.255.0.20,host=xxxx.example.com wlanAPSerialNumber="xxxxx",wlanAPNumBootstraps=15i,wlanAPNumWarmReboots=1i,wlanAPSwitchIpAddress="10.255.0.20",wlanAPConnectedAsDatazone=0i,wlanAPModel=".1.3.6.1.4.1.14823.1.2.102",wlanAPdot11gAntennaGain=0i,wlanAPModelName="535",wlanAPLocation="Not Available",wlanAPBuilding=0i,wlanAPLoc=0i,wlanAPHwVersion="A1.0",wlanAPActiveIpAddress="10.196.233.132",wlanAPIpAddress="10.196.233.132",wlanAPMonitorMode=2i,wlanAPGroupName="controller.example.com.",wlanAPExternalAntenna=1i,wlanAPSwVersion="8.6.0.9",wlanAPConnectedAsStandby=0i,wlanAPEnet1Mode=1i,wlanAPOuterIpAddress="0.0.0.0",wlanAPStandbyIpAddress="0.0.0.0",wlanAPdot11aAntennaGain10x=255i,wlanAPFloor=0i,wlanAPRemoteLanIpAddress="10.196.233.132",wlanAPActiveUplink=1i,wlanAPSplit5GMode=3i,wlanAPNumReboots=11i,wlanAPUpTime=2455100i,wlanAPStatus=1i,wlanAPUnprovisioned=2i,wlanAPFlexRadioMode=4i,wlanAPNumRadios=2i,wlanAPdot11aAntennaGain=0i,wlanAPIpsecMode=2i,wlanAPMeshRole=0i,wlanAPdot11gAntennaGain10x=255i,wlanAPDual5GMode=3i,wlanAPName="HF4160-10-1" 1646137124000000000
WlanAPTable,agent_host=10.255.0.20,host=xxxx.example.com wlanAPConnectedAsStandby=0i,wlanAPConnectedAsDatazone=0i,wlanAPdot11gAntennaGain10x=255i,wlanAPDual5GMode=3i,wlanAPSplit5GMode=3i,wlanAPFloor=0i,wlanAPdot11gAntennaGain=0i,wlanAPLoc=0i,wlanAPOuterIpAddress="0.0.0.0",wlanAPSwitchIpAddress="10.255.0.20",wlanAPName="HF4228-2-26",wlanAPModelName="225",wlanAPExternalAntenna=1i,wlanAPHwVersion="A1.0",wlanAPdot11aAntennaGain10x=255i,wlanAPNumRadios=2i,wlanAPRemoteLanIpAddress="10.196.40.238",wlanAPStandbyIpAddress="0.0.0.0",wlanAPMonitorMode=2i,wlanAPIpsecMode=2i,wlanAPLocation="Not Available",wlanAPMeshRole=0i,wlanAPActiveIpAddress="10.196.40.238",wlanAPSerialNumber="xxxxxx",wlanAPModel=".1.3.6.1.4.1.14823.1.2.59",wlanAPUpTime=56845300i,wlanAPBuilding=0i,wlanAPUnprovisioned=2i,wlanAPNumWarmReboots=0i,wlanAPFlexRadioMode=4i,wlanAPIpAddress="10.196.40.238",wlanAPEnet1Mode=1i,wlanAPActiveUplink=1i,wlanAPGroupName="controller.example.com",wlanAPStatus=1i,wlanAPNumBootstraps=6i,wlanAPNumReboots=2i,wlanAPSwVersion="8.6.0.9",wlanAPdot11aAntennaGain=0i 1646137124000000000
WlanAPTable,agent_host=10.255.0.20,host=xxxx.example.com wlanAPExternalAntenna=1i,wlanAPUnprovisioned=2i,wlanAPMeshRole=0i,wlanAPConnectedAsStandby=0i,wlanAPdot11aAntennaGain=0i,wlanAPSplit5GMode=3i,wlanAPActiveIpAddress="10.196.41.229",wlanAPModel=".1.3.6.1.4.1.14823.1.2.48",wlanAPNumBootstraps=5i,wlanAPFlexRadioMode=4i,wlanAPdot11aAntennaGain10x=255i,wlanAPdot11gAntennaGain10x=255i,wlanAPFloor=0i,wlanAPStatus=1i,wlanAPOuterIpAddress="0.0.0.0",wlanAPSwitchIpAddress="10.255.0.20",wlanAPDual5GMode=3i,wlanAPName="HF4228-5-3(D)",wlanAPLoc=0i,wlanAPActiveUplink=1i,wlanAPConnectedAsDatazone=0i,wlanAPIpAddress="10.196.41.229",wlanAPNumRadios=2i,wlanAPUpTime=1037552800i,wlanAPModelName="135",wlanAPSwVersion="8.6.0.9",wlanAPStandbyIpAddress="0.0.0.0",wlanAPdot11gAntennaGain=0i,wlanAPEnet1Mode=1i,wlanAPIpsecMode=2i,wlanAPNumReboots=1i,wlanAPMonitorMode=2i,wlanAPNumWarmReboots=0i,wlanAPRemoteLanIpAddress="10.196.41.229",wlanAPGroupName="controller.example.com",wlanAPSerialNumber="xxxxxxx",wlanAPLocation="Not Available",wlanAPBuilding=0i,wlanAPHwVersion="A1.0" 1646137124000000000
WlanAPTable,agent_host=10.255.0.20,host=xxxx.example.com wlanAPDual5GMode=3i,wlanAPSplit5GMode=3i,wlanAPLocation="Not Available",wlanAPExternalAntenna=1i,wlanAPNumBootstraps=6i,wlanAPRemoteLanIpAddress="x.x.x.x",wlanAPFlexRadioMode=4i,wlanAPFloor=0i,wlanAPStatus=1i,wlanAPNumReboots=1i,wlanAPIpAddress="x.x.x.x",wlanAPName="HF4228-O-6",wlanAPdot11aAntennaGain=0i,wlanAPIpsecMode=2i,wlanAPBuilding=0i,wlanAPHwVersion="A1.0",wlanAPSwVersion="8.6.0.9",wlanAPActiveUplink=1i,wlanAPConnectedAsDatazone=0i,wlanAPActiveIpAddress="x.x.x.x",wlanAPEnet1Mode=1i,wlanAPUpTime=1037576900i,wlanAPUnprovisioned=2i,wlanAPMeshRole=0i,wlanAPOuterIpAddress="0.0.0.0",wlanAPGroupName="controller.example.com",wlanAPMonitorMode=2i,wlanAPSwitchIpAddress="10.255.0.20",wlanAPdot11aAntennaGain10x=255i,wlanAPModel=".1.3.6.1.4.1.14823.1.2.64",wlanAPSerialNumber="xxxxxx",wlanAPLoc=0i,wlanAPNumWarmReboots=0i,wlanAPStandbyIpAddress="0.0.0.0",wlanAPConnectedAsStandby=0i,wlanAPModelName="275",wlanAPdot11gAntennaGain10x=255i,wlanAPdot11gAntennaGain=0i,wlanAPNumRadios=2i 1646137124000000000
WlanAPTable,agent_host=10.255.0.20,host=xxxx.example.com wlanAPStatus=1i,wlanAPRemoteLanIpAddress="10.196.233.170",wlanAPConnectedAsStandby=0i,wlanAPConnectedAsDatazone=0i,wlanAPSerialNumber="xxxxxxxx",wlanAPdot11aAntennaGain=0i,wlanAPNumRadios=2i,wlanAPUpTime=2455100i,wlanAPBuilding=0i,wlanAPStandbyIpAddress="0.0.0.0",wlanAPdot11aAntennaGain10x=255i,wlanAPdot11gAntennaGain10x=255i,wlanAPSplit5GMode=3i,wlanAPIpAddress="10.196.233.170",wlanAPGroupName="controller.example.com.",wlanAPIpsecMode=2i,wlanAPNumBootstraps=22i,wlanAPFlexRadioMode=4i,wlanAPActiveIpAddress="10.196.233.170",wlanAPModelName="535",wlanAPNumReboots=16i,wlanAPUnprovisioned=2i,wlanAPMeshRole=0i,wlanAPNumWarmReboots=1i,wlanAPOuterIpAddress="0.0.0.0",wlanAPMonitorMode=2i,wlanAPSwVersion="8.6.0.9",wlanAPDual5GMode=3i,wlanAPModel=".1.3.6.1.4.1.14823.1.2.102",wlanAPdot11gAntennaGain=0i,wlanAPLocation="Not Available",wlanAPExternalAntenna=1i,wlanAPHwVersion="A1.0",wlanAPActiveUplink=1i,wlanAPEnet1Mode=1i,wlanAPLoc=0i,wlanAPName="HF4160-5-3",wlanAPFloor=0i,wlanAPSwitchIpAddress="10.255.0.20" 1646137124000000000
WlanAPTable,agent_host=10.255.0.20,host=xxxx.example.com wlanAPdot11gAntennaGain=0i,wlanAPStatus=1i,wlanAPRemoteLanIpAddress="x.x.x.x",wlanAPSwitchIpAddress="10.255.0.20",wlanAPFlexRadioMode=4i,wlanAPFloor=0i,wlanAPEnet1Mode=1i,wlanAPIpsecMode=2i,wlanAPModelName="135",wlanAPLocation="Not Available",wlanAPdot11gAntennaGain10x=255i,wlanAPDual5GMode=3i,wlanAPActiveIpAddress="x.x.x.x",wlanAPSplit5GMode=3i,wlanAPModel=".1.3.6.1.4.1.14823.1.2.48",wlanAPdot11aAntennaGain=0i,wlanAPLoc=0i,wlanAPNumReboots=761i,wlanAPMeshRole=0i,wlanAPStandbyIpAddress="0.0.0.0",wlanAPUnprovisioned=2i,wlanAPSwVersion="8.6.0.9",wlanAPName="HF4228-3-9",wlanAPNumRadios=2i,wlanAPMonitorMode=2i,wlanAPHwVersion="A1.0",wlanAPdot11aAntennaGain10x=255i,wlanAPOuterIpAddress="0.0.0.0",wlanAPActiveUplink=1i,wlanAPGroupName="controller.example.com",wlanAPSerialNumber="xxxxxxx",wlanAPUpTime=483387800i,wlanAPBuilding=0i,wlanAPExternalAntenna=1i,wlanAPNumWarmReboots=0i,wlanAPConnectedAsDatazone=0i,wlanAPIpAddress="x.x.x.x",wlanAPNumBootstraps=1944i,wlanAPConnectedAsStandby=0i 1646137124000000000
WlanAPTable,agent_host=10.255.0.20,host=xxxx.example.com wlanAPLocation="Not Available",wlanAPFloor=0i,wlanAPLoc=0i,wlanAPSwVersion="8.6.0.9",wlanAPDual5GMode=3i,wlanAPIpAddress="10.196.40.204",wlanAPName="HF4228-4-26",wlanAPGroupName="controller.example.com",wlanAPActiveIpAddress="10.196.40.204",wlanAPNumWarmReboots=0i,wlanAPStandbyIpAddress="0.0.0.0",wlanAPExternalAntenna=1i,wlanAPOuterIpAddress="0.0.0.0",wlanAPSwitchIpAddress="10.255.0.20",wlanAPModel=".1.3.6.1.4.1.14823.1.2.59",wlanAPSerialNumber="xxxxxxx",wlanAPIpsecMode=2i,wlanAPHwVersion="A1.0",wlanAPActiveUplink=1i,wlanAPEnet1Mode=1i,wlanAPModelName="225",wlanAPStatus=1i,wlanAPConnectedAsDatazone=0i,wlanAPFlexRadioMode=4i,wlanAPdot11gAntennaGain10x=255i,wlanAPdot11gAntennaGain=0i,wlanAPBuilding=0i,wlanAPConnectedAsStandby=0i,wlanAPMeshRole=0i,wlanAPNumRadios=2i,wlanAPNumBootstraps=6i,wlanAPUnprovisioned=2i,wlanAPMonitorMode=2i,wlanAPRemoteLanIpAddress="10.196.40.204",wlanAPdot11aAntennaGain10x=255i,wlanAPSplit5GMode=3i,wlanAPdot11aAntennaGain=0i,wlanAPUpTime=56845300i,wlanAPNumReboots=2i 1646137124000000000

```

---

<div class="post-metadata">

### Author: ![Jay\_Clifford](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/jay_clifford/32/8287_2.png) [@Jay\_Clifford](https://community.influxdata.com/u/Jay_Clifford)
#### Post date: [March 7, 2022, 11:50am UTC](https://community.influxdata.com/t/telegraf-inputs-snmp-table-not-reporting-entire-table/24029/4 "2022-03-07T11:50:19Z")

</div>

Hi @MarcelV,  
So sorry for the late reply I was at an event. So what It looks like is happening the timestamps are all the same which means the data is essentially overwriting itself within InfluxDB. What you could do is turn one of the fields into a tag to separate the data within InfluxDB. I will take your advice here on SNMP. Out of this data, you provided what would be a good describing field to separate the tables. I can then help you create a Telegrasf config

---

<div class="post-metadata">

### Author: ![MarcelV](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/marcelv/32/9571_2.png) [@MarcelV](https://community.influxdata.com/u/MarcelV)
#### Post date: [March 7, 2022, 12:30pm UTC](https://community.influxdata.com/t/telegraf-inputs-snmp-table-not-reporting-entire-table/24029/5 "2022-03-07T12:30:54Z")

</div>

Hi @Jay_Clifford

No problem at all. Thanks for your time. I never even thought of that possibility as other tables  
(mostly from MIB2) work just fine.

Anyway to answer your question - a potentially good field to tag would be the “wlanAPName” (1.3.6.1.4.1.14823.2.2.1.5.2.1.4.1.3) field as that is unique for each AP connected. Another possible option could be the “wlanAPIpAddress” field (1.3.6.1.4.1.14823.2.2.1.5.2.1.4.1.2).

Regards

---

<div class="post-metadata">

### Author: ![Jay\_Clifford](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/jay_clifford/32/8287_2.png) [@Jay\_Clifford](https://community.influxdata.com/u/Jay_Clifford)
#### Post date: [March 7, 2022, 1:08pm UTC](https://community.influxdata.com/t/telegraf-inputs-snmp-table-not-reporting-entire-table/24029/6 "2022-03-07T13:08:39Z")

</div>

Hi @MarcelV,  
I am just tagging @Hipska here. He is one of our Telegraf maintainers and regularly uses SNMP. He will be able to help advise on the best way to tag your data. wlanAPName sounds okay but my main concern there would be cardinality if the list keeps growing 🙂 .

---

<div class="post-metadata">

### Author: ![Hipska](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/hipska/32/3877_2.png) [@Hipska](https://community.influxdata.com/u/Hipska)
#### Post date: [March 7, 2022, 2:04pm UTC](https://community.influxdata.com/t/telegraf-inputs-snmp-table-not-reporting-entire-table/24029/7 "2022-03-07T14:04:35Z")

</div>

The easiest way to do and go forward would be setting `index_as_tag = true` in the table.

According to the MIB, the index should be `sysXProcessorID`, but that doesn’t seem to be available. So what I would do is adding this to the config:

```nohighlight
    [[inputs.snmp.table.field]]
      oid = "WLSX-SWITCH-MIB::sysXProcessorDescr"
      is_tag = true

```

---

<div class="post-metadata">

### Author: ![MarcelV](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/marcelv/32/9571_2.png) [@MarcelV](https://community.influxdata.com/u/MarcelV)
#### Post date: [March 8, 2022, 7:58am UTC](https://community.influxdata.com/t/telegraf-inputs-snmp-table-not-reporting-entire-table/24029/8 "2022-03-08T07:58:03Z")

</div>

Thanks, @Hipska - I read that adding in specific fields from a table would then only return those fields and not the whole table, does that mean I should add all the fields I’m interested to see?

In the meantime I will give the is\_tag and even the index\_as\_tag a try. Thanks for that.

---

<div class="post-metadata">

### Author: ![Hipska](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/hipska/32/3877_2.png) [@Hipska](https://community.influxdata.com/u/Hipska)
#### Post date: [March 8, 2022, 8:42am UTC](https://community.influxdata.com/t/telegraf-inputs-snmp-table-not-reporting-entire-table/24029/9 "2022-03-08T08:42:42Z")

</div>

That would only be the case if you omit the `oid` setting from the table config. So, if you keep that, all will stay the same and you will get that description field as tag instead…

---

<div class="post-metadata">

### Author: ![MarcelV](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/marcelv/32/9571_2.png) [@MarcelV](https://community.influxdata.com/u/MarcelV)
#### Post date: [March 8, 2022, 9:04am UTC](https://community.influxdata.com/t/telegraf-inputs-snmp-table-not-reporting-entire-table/24029/10 "2022-03-08T09:04:33Z")

</div>

Got it.

Well I can confirm the “tagging” has solved my problem. Can not thank you enough!  
Please consider my issue resolved and thanks again for the help @Jay_Clifford and @Hipska
