Skip to main content

snmpd[3916]: error on subcontainer ‘ia_addr’ insert (-1)

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'