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

Found that the log files on two separate Centos 6.3 boxes where filling up with the error

error on subcontainer 'ia_addr' insert (-1)

This was being written with each connect. It seems that this is a harmless debugging message and the fix appears to be to change the OPTIONS setting in “/etc/sysconfig/snmpd” from

-LSd

Which means log to syslog under the daemon facility, to

-LS6d

Which means log only LOG_INFO level messages and above to the syslog using the “daemon” facility.

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.

Advertisements

One Response to snmpd error on subcontainer ‘ia_addr’ insert (-1)

  1. Pingback: snmpd error on subcontainer ‘ia_addr’ insert (-1) » IT Tips and Tricks

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: