[Pkg-net-snmp-devel] Bug#559109: #559109 - snmpd: Lots of errors in syslog : error on subcontainer 'ia_addr' insert (-1) - Debian Bug report logs

Chris Zubrzycki chris at middle--earth.org
Sun Jul 4 17:01:30 UTC 2010


This is fixed in the latest snmpd. The problem is, snmpd reports *all* errors to syslog, because of /etc/defaults/snmpd. To log only up to info level, and not debug, change these to lines as follows:

SNMPDOPTS='-LS6d -Lf /dev/null -u snmp -g snmp -I -smux -p /var/run/snmpd.pid'
TRAPDOPTS='-LS6d -p /var/run/snmptrapd.pid'

going from -Lsd to -LS6d lowers the debug level sent to syslog. Refer to Logging Options section in snmpcmd manpage for more information.

-chris zubrzycki
- --
PGP public key: http://homepage.mac.com/beren/publickey.txt
ID: 0xA2ABC070
Fingerprint: 26B0 BA6B A409 FA83 42B3  1688 FBF9 8232 A2AB C070
_________________________________________________
This message is encoded using the Rot-26 encoding method.  Unauthorized decoding of this message may result in extreme penalties under the DMCA.  These penalties include, but are not limited to: US$100,000 fine, life imprisonment, castration, death, limp hair, terminal halitosis, and amputation of the extremities.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 242 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-net-snmp-devel/attachments/20100704/12b8f7ea/attachment.pgp>


More information about the Pkg-net-snmp-devel mailing list