Hello
I’m refering to this code: https://github.com/centreon/centreon/blob/develop/centreon/packaging/scripts/centreon-poller-postinstall.sh#L31
Wouldn’t it be better to add a file in /etc/snmp/snmp.conf.d/
instead of editing /etc/snmp/snmpd.conf
, at least if the directory exists? Any reason not to do it?
Also shouldn’t snmpd be restarted after updating this config?
(I might be able to send a PR)