On Thu, 19 Feb 2009 16:12:12 +0800 (CST) lin wrote: LJ> I used the net-snmp version 5.x, and I like to use LJ> the trap that net-snmp supports, ie. caoldstart, LJ> warmstart, linudown, linkup and authenticationfailure. LJ> LJ> Please advise me how to test it.
Simple. First you need to configure a trap destination, enable authentication failure traps and link status monitoring (man snmpd.conf). Restarting snmpd will send a cold start trap. Unplug a link on a secondary interface for the link traps (make sure you wait at least as long as the poll interval). Send a request with a bad community string for the authentication trap. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
