# SNMP data not passing into influx

**URL:** <https://community.influxdata.com/t/snmp-data-not-passing-into-influx/18221>\
**Category:** Telegraf\
**Created:** [February 8, 2021, 5:16am UTC](https://community.influxdata.com/t/snmp-data-not-passing-into-influx/18221 "2021-02-08T05:16:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zeeshanamiri28](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/zeeshanamiri28/32/6616_2.png) [@zeeshanamiri28](https://community.influxdata.com/u/zeeshanamiri28)\
**Post date:** [February 8, 2021, 5:16am UTC](https://community.influxdata.com/t/snmp-data-not-passing-into-influx/18221/1 "2021-02-08T05:16:04Z")

</div>

When I run this

telegraf --input-filter snmp --test

I get this error

2021-02-08T05:13:17Z I! Starting Telegraf 1.17.2  
2021-02-08T05:13:17Z I! Using config file: /etc/telegraf/telegraf.conf  
2021-02-08T05:13:17Z E! [telegraf] Error running agent: Error loading config file /etc/telegraf/telegraf.conf: plugin inputs.snmp: line 2329: configuration specified the fields [“sub\_tables” “mapping\_table” “host” “bulk” “get”], but they weren’t used

---

<div class="post-metadata">

**Author:** ![zeeshanamiri28](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/zeeshanamiri28/32/6616_2.png) [@zeeshanamiri28](https://community.influxdata.com/u/zeeshanamiri28)\
**Post date:** [February 8, 2021, 6:10am UTC](https://community.influxdata.com/t/snmp-data-not-passing-into-influx/18221/2 "2021-02-08T06:10:24Z")

</div>

I commented al the fields now its not showing the error.

I want snmp to be displayed in my database which is not happing.

---

<div class="post-metadata">

**Author:** ![zeeshanamiri28](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/zeeshanamiri28/32/6616_2.png) [@zeeshanamiri28](https://community.influxdata.com/u/zeeshanamiri28)\
**Post date:** [February 9, 2021, 9:21am UTC](https://community.influxdata.com/t/snmp-data-not-passing-into-influx/18221/3 "2021-02-09T09:21:10Z")

</div>

Tried a lot and finally solved…!!
