On Wed, 2006-02-22 at 13:22 +0100, ange terrien wrote:
> Wrinting a Perl script called by snmptrapd, I want to
> receive a SNMP-v1 trap and parse it.
> But I can't find how to get the generic and the
> specific trap types.

snmptrapd passes notifications to the trap handlers
in SNMPv2 format, regardless of the version actually
received.   So a linkUp trap will appear with a
snmpTrapOID.0 varbind of IF-MIB::linkUp  rather
than the SNMPv1 (2,0) pair.

Dave


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to