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'

4 thoughts to “snmpd[3916]: error on subcontainer ‘ia_addr’ insert (-1)”

  1. Pingback: Paper
  2. snmpd gives “error on subcontainer” warnings

    This document (7005030) is provided subject to the disclaimer at the end of this document.
    Environment
    SUSE Linux Enterprise Server 11
    Situation
    After starting the snmpd service “service snmpd start” the following messages appear in /var/log/net-snmpd.log

    error on subcontainer ‘ia_addr’ insert (-1)
    error on subcontainer ‘ia_addr’ insert (-1)

    The error occurs every 30 seconds and fills the log.
    Resolution
    The message ‘error on subcontainer’ is logged with log level DEBUG. The log level for snmp is set in /etc/sysconfig/net-snmp by SNMPD_LOGLEVEL. By default it is set to ‘d’ (debug) to ensure backward compatibility with an older init script.

    If you want to stop these messages, you can change the log level in /etc/sysconfig/net-snmp. The available log levels are documented in snmpcmd(1).

    In /etc/sysconfig/net-snmp you can set the log level down wards to ‘i’ (LOG_INFO):

    modify:

    SNMPD_LOGLEVEL=”d”
    to
    SNMPD_LOGLEVEL=”i”

    and restart snmpd.
    Disclaimer

    This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented “AS IS” WITHOUT WARRANTY OF ANY KIND.

    Document ID:7005030
    Creation Date:15-DEC-09
    Modified Date:27-APR-12
    SUSESUSE Linux Enterprise Server

    Did this document solve your problem? Provide Feedback

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.