Hello, I am working with telegraf and influxdb2 locally. I’ll give you part of the config.
This code works very well for me. But then I signed up for cloud2.influxdata.com to store the data in the cloud. But tail -f /var/log/telegraf/telegraf.log gives me the following error:
error writing line 360 (1-based): Unable to insert iox::column_type::field::string type into column ifName with type iox::column_type::tag
error writing line 361 (1-based): Unable to insert iox::column_type::field::string type into column ifName with type iox::column_type::tag
error writing line 383 (1-based): Unable to insert iox::column_type::field::string type into column ifName with type iox::column_type::tag
I understand that it has something to do with the Cloud, the strange thing is that everything works fine in the local infludb2
[[inputs.snmp]]
agents = [“192.168.1.100:161”]
version = 2
community = “test”
interval = “300s”
name = “example”
[[inputs.snmp.table]]
name = “example”
oid = “IF-MIB::ifXTable”
index_as_tag = true
[[inputs.snmp.table.field]]
name = “ifName”
oid = “IF-MIB::ifName”
is_tag = true