error parsing snmp.yml config - yaml: unmarshal errors:\n line3 field public_v2 not found in type config.plain #964
-
Hello! I am trying to set up snmp_exporter for the first time and I used the generator and this was the snmp.yml that was created but I am getting the following error when trying to start the snmp_exporter.service and have not been able to find a solution - can someone help!? Many Thanks! This is the error I am getting when running the systemctl status snmp_exporter.service I've attached a copy of the yaml file in case someone can take a look to see what I am missing or have incorrectly configured? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
That config file requires the snmp_exporter version v0.23.0 or newer. You probably have an old version installed. |
Beta Was this translation helpful? Give feedback.
-
For anyone coming along here upgrading their exporters and just want to change the snmp.yml config file without running the generator again, you can do the following:
if it fits you, depending on your setup it could be that you still need to adapt this, possible also to add version 1:
We went with the second option as we had some
Otherwise you might see errors like Maybe this helps someone out there - if yes, feel free to leave a comment or upvote :) |
Beta Was this translation helpful? Give feedback.
That config file requires the snmp_exporter version v0.23.0 or newer. You probably have an old version installed.