1. vi /etc/init.d/snmpd

Modify the OPTIONS to the following:

OPTIONS="-LS0-6d -DALL -Lf /tmp/snmpd.log -p /var/run/snmpd.pid"

2./etc/init.d/snmpd restart

3. tail -f /tmp/snmpd.log

you can see all the debug logs.

tests on net-snmp 5.6

Zhu Yanjun

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to