FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 11-29-2007, 08:33 PM
Max Hetrick
 
Default SNMP Log entries

-----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+2Qe8 z8wPjDoACgneIR
LDNiRiv1+azcMO8IK+1nQtM=
=OPA1
-----END PGP SIGNATURE-----
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 07:41 AM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org