SNMP data not passing into influx

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

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

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

Tried a lot and finally solved…!!