Skip to main content
Needs Votes

What about using snmpd.conf.d instead of updating snmpd.conf?

Related products:Infra Monitoring - Global/Installation
  • December 20, 2024
  • 1 reply
  • 57 views

Forum|alt.badge.img+2

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)

1 reply

rchauvel
Centreonian
Forum|alt.badge.img+18
  • Centreonian
  • January 10, 2025
New→Needs Votes