Re: snmptrapd and the generic/specific trap type

2006-03-02 Thread Dave Shield
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, regar

snmptrapd and the generic/specific trap type

2006-02-22 Thread ange terrien
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. When I send a LinkUp trap (generic=2 and specific=0), I can't find those informations neither in the pdu informations nor in the varbinds