[CentOS] SNMP Log entries
Max Hetrick
btmanmeh at verizon.net
Thu Nov 29 21:33:31 UTC 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Enyo wrote:
> I do not care about seeing normal connection info from snmpd, but
> retaining logging for other info such as malformed packets, bad
> community strings etc is of interest.
I think you can just put your logging level in /etc/snmp/snmpd.conf.
logging file=/to/some/file enabled #if you want to dump somewhere else
logging size=0 level=0 #size 0 = unlimited size otherwise
measured in bytes
level:
0 All NOTICES, EXCEPTIONS, and FATAL messages
1 Level 0 plus DEBUG messages
2 Level 1 plus a hexadecimal dump of incoming and outgoing packets
3 Level 2 plus an English version of the request and response packets
Regards,
Max
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFHTzAqHoeeepPau2ERAnsoAJ9bgXBCVH7dO3LaY+2Qe8z8wPjDoACgneIR
LDNiRiv1+azcMO8IK+1nQtM=
=OPA1
-----END PGP SIGNATURE-----
More information about the CentOS
mailing list