"Hello.
I´m trying to setup an snmp polling function in our Elasticsearch with Logstash.
Today it is an "Proof of Concept" with only one 4G router from the vendor named Advantech.
I have followed the instructions found at Elastic and converted a MIB file from Advantech to an .dic using libsmi.
the Input configuration at the pipeline for this PoC is quite simple.
" snmp {
walk => [".1.3.6.1.4.1.30140"]
hosts => [ { host => "udp:1.2.3.4/161" community => "public" version => "2c" retries => 3 } ]
mib_paths => ["/Elastic/logstash/config/MIB/conel/CONEL-MIB.dic"]
tags => ["nodes"]
interval => 10
}"
My issue is that I get this error when I start Logstash.
"[2021-12-22T12:27:02,597][ERROR][logstash.javapipeline ][SNMP-POC] Pipeline error {:pipeline_id=>"SNMP-POC", :exception=>#<LogStash::SnmpMibError: error parsing mib dic file: /Elastic/logstash/config/MIB/conel/CONEL-MIB.dic, error: (eval):1: invalid multibyte char (UTF-8)"
Any ideas on why I get this error?"