# Snmp table data using telegraf

**URL:** <https://community.influxdata.com/t/snmp-table-data-using-telegraf/12462>\
**Category:** Telegraf\
**Created:** [December 30, 2019, 4:52pm UTC](https://community.influxdata.com/t/snmp-table-data-using-telegraf/12462 "2019-12-30T16:52:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![danishv](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/danishv/32/4130_2.png) [@danishv](https://community.influxdata.com/u/danishv)\
**Post date:** [December 30, 2019, 4:52pm UTC](https://community.influxdata.com/t/snmp-table-data-using-telegraf/12462/1 "2019-12-30T16:52:53Z")

</div>

Dears,

Am trying to poll table data from an agent but am not getting outputs but i cannot diffetiate b/w fields in tables. When i do sleepwalk am getting correct output. I tried to put table.feild in telegraf input but still am not getting the output.  
Kindly please help to solve this issue

 ![snmp](https://us1.discourse-cdn.com/flex023/uploads/influxdata/original/2X/d/dbf7ec4426978dc38f8876ca439d1ef8c18140da.jpeg)

---

<div class="post-metadata">

**Author:** ![daniel](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/daniel/32/142_2.png) [@daniel](https://community.influxdata.com/u/daniel)\
**Post date:** [December 30, 2019, 7:37pm UTC](https://community.influxdata.com/t/snmp-table-data-using-telegraf/12462/2 "2019-12-30T19:37:53Z")

</div>

When collecting a table I recommend adding the table OID:

```auto
[[inputs.snmp]]
  [[inputs.snmp.table]]
    oid = "myTable"
    [[inputs.snmp.table.field]]
      name = "foo"
      oid = "myField"

```

It’s best to compare against `snmptable`, this more closely matches the operation Telegraf performs:

```auto
snmptable -v2c -c public 127.0.0.1 myTable

```

---

<div class="post-metadata">

**Author:** ![danishv](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/danishv/32/4130_2.png) [@danishv](https://community.influxdata.com/u/danishv)\
**Post date:** [January 1, 2020, 1:38pm UTC](https://community.influxdata.com/t/snmp-table-data-using-telegraf/12462/3 "2020-01-01T13:38:01Z")

</div>

Dear Dennis,  
i tried that but am getting error. Its a table but i think telegraf cannot collect it as table

 ![baddummy](https://us1.discourse-cdn.com/flex023/uploads/influxdata/original/2X/4/47d84c9fb610f7e759f3ed543625287cbef672e2.jpeg)
