My netdata agent upgraded recently and I just realized that my snmp configuration is no longer working properly. My main issue is not that it’s included in the metrics but that it’s not adding my own charts which is the reason why I need them. I’m including my old configuration (removed any sensitive IPs):
We’ve deprecated and removed the legacy SNMP data collection — please see the v2.7.0 release notes for details. SNMP collection is now profile-based.
You have two options:
Switch to the stable version (v2.7.2) and re-enable legacy SNMP collection by setting:
disable_legacy_collection: no
Create a custom SNMP profile and place it in /etc/netdata/go.d/snmp.profiles/default (or /opt/netdata/etc/netdata/go.d/snmp.profiles/default depends on your install method).
The profile syntax documentation is still a work in progress, but you can refer to the existing stock SNMP profiles for examples.
Unfortunately I can’t switch to v2.7.2 since it’s not available on my apt-list (I have ubuntu 22.04 and ideally I want to upgrade it right now to 24.04).
However, I tried disable_legacy_collection: no and it’s not working. I checked on your documentation and it should have worked on v2.7.0 too. I also tried setting to false but it’s not working either. You need to update your documentation as well because here: SNMP devices | Netdata in the examples you can set oid and it doesn’t show that configuration and you say that it needs to be set as false and in your github updates it says to set it as “no”.
Is there any command I can try to check if my disable_legacy_collection: no is being overridden or smth?
I have another question related to this, although my charts are now visible again from the UI, unfortunately is not included in the api’s charts, do you might have any idea why is this happening? Do I need to set this somehow on the configuration?