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

Perl question: hex-string

2006-02-20 Thread ange terrien
Does anybody know how to encode a hex-string varbind ( like the 'x' type in snmptrap) to send it with 'SNMP_Session::v2_trap_request_send' ? I found a 'encode_string' but no 'encode_hexstring' in the lib. __

Re: pass to type of the OID values ?

2006-02-06 Thread ange terrien
Thank you Thomas, this is working fine. But does anybody know how to deal with a Hex-STRING data type ? And how can I encode a MIB specific data type ? From: Thomas Anders <[EMAIL PROTECTED]> > Dave Shield wrote: > >> On Fri, 2006-01-20 at 11:19 +0100, ange terrien wrote: &g

Re: SNMP Forwarder Utility

2006-01-24 Thread ange terrien
And how can you pass the trap from snmptrapd to snmptrap ? Ange > You can easily do this with a shell script using the snmptrapd and snmptrap. > Just parse the snmptrapd return data, switch on trap number and send them > out with snmptrap accordingly. > -- > -Tony > Having fun with FPGA HW

pass to type of the OID values ?

2006-01-20 Thread ange terrien
Is there a way to pass to type of the OID values in the traphandle directive so I do not have to parse the MIB file to get it ? ___ Nouveau : téléphonez moins cher avec Yahoo! Messenger !