This message is flooding my syslog on each snmp query.
snmpd[3916]: error on subcontainer 'ia_addr' insert (-1)
snmpd[3916]: error on subcontainer 'ia_addr' insert (-1)
snmpd[3916]: error on subcontainer 'ia_addr' insert (-1)
To avoid it you have to change the log level of the services. In debian squeeze edit /etc/default/snmpd and change these lines:
SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -g snmp -I -smux -p /var/run/snmpd.pid'
TRAPDOPTS='-Lsd -p /var/run/snmptrapd.pid'
to:
SNMPDOPTS='-LS6d -Lf /dev/null -u snmp -g snmp -I -smux -p /var/run/snmpd.pid'
TRAPDOPTS='-LS6d -p /var/run/snmptrapd.pid'
This is annoying since I was using -Lf, but adding the “6″ there for the log level causes net-snmpd to create the file as a socket instead of a regular file. It seems that there is no method to filter the debugging notices when logging to a file.
This above solution was found at this site. Thanks to the author: http://undefinederror.org/snmpd3916-error-on-subcontainer-ia_addr-insert-1/