SNMP options not honored
Was getting “error on subcontainer ‘ia_addr’ insert (–1)” after starting snmpd. I adjusted the options in /etc/conf.d/snmpd and changed SNMPD_FLAGS to “${OPTS} -LS6d”. However, this change did not seem to be honored on a restart of snmpd.
After digging, I believe there is an error in /etc/init.d/snmpd — at the end of line 23, should read ${SNMPD_FLAGS} instead of ${OPTS}.
(from redmine: issue id 2802, created on 2014-04-03, closed on 2014-06-05)
- Changesets:
- Revision b397342b on 2014-05-28T15:56:57Z:
main/net-snmp: update initd, adding reload function
fixes #2802
(cherry picked from commit 92cf69a075d0baaf47f6d2870ce07b6de3b83248)