Replies: 3 comments
-
Same issue with qnap mibs and exporter.yml |
Beta Was this translation helpful? Give feedback.
-
You need to change the format of your config file.
|
Beta Was this translation helpful? Give feedback.
-
I ran into the same thing, generated a new snmp.yml, tested via snmpwalk, edited prometheus.yml and now I'm facing a problem with Grafana.. |
Beta Was this translation helpful? Give feedback.
-
Hello, my docker got updated and snmp is no longer working. Unfortunately I do not understand what I have to change for the new version.
Host operating system: output of
uname -a
Linux nas 4.4.302+ #64570 SMP Thu Jul 20 00:06:39 CST 2023 x86_64 GNU/Linux synology_v1000_rs1221+
snmp_exporter version: output of
snmp_exporter -version
0.23.0 docker
What did you do that produced an error?
docker automatically updated to newest version
What did you expect to see?
working connection to prometheus
What did you see instead?
porter" version="(version=0.23.0, branch=HEAD, revision=20657d2f486a1ac237238827beed97fa67eb8611)" ts=2023-08-16T11:47:38.980Z caller=main.go:181 level=info build_context="(go=go1.20.7, platform=linux/amd64, user=root@f2310b8dd92c, date=20230816-09:56:45, tags=netgo)" ts=2023-08-16T11:47:38.984Z caller=main.go:188 level=error msg="Error parsing config file" err="yaml: unmarshal errors:\n line 1: field synology not found in type config.Config" ts=2023-08-16T11:47:38.984Z caller=main.go:189 level=error msg="Possible old config file, see https://github.com/prometheus/snmp_exporter/blob/main/auth-split-migration.md"
Here is the config:
https://pastebin.com/1DzCbz8d
Beta Was this translation helpful? Give feedback.
All reactions