Re: snmptrapd and the generic/specific trap type
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=lnkkid=110944bid=241720dat=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
snmptrapd and the generic/specific trap type
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 informations. ange ___ Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international. Téléchargez sur http://fr.messenger.yahoo.com --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=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