I have a small program that I am preparing for release. As part of its functionality, it queries SNMP for a few statistics.
The MIBs in question are installed by the default net-snmp
package, but are not enabled by the default /etc/snmp/snmpd.conf
.
I would like to ship a custom configuration file with my RPM, but I do not want to modify /etc/snmp/snmpd.conf (in case any of my users have custom configuration in there already).
Is there a way to ship a separate snmpd.local.conf
file (or something similar) and have it take effect, without modifying /etc/snmp/snmpd.conf
? man snmp_config(5)
seems to imply that it is possible but nothing I try seems to have any effect.