This is a discussion on Re: snmptrapd forwarding within the SNMP Users forums, part of the Networking and Network Related category; Hi Brett, The directive "traphandle <oid> <exe>" in snmptrapd.conf file will invoke an ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi Brett,
The directive "traphandle <oid> <exe>" in snmptrapd.conf file will invoke an executable <exe> if it receives a trap with OID <oid>. The inputs to execuatble <exe> from snmptrapd is the ip adddress of trap sender and variable binding. In executable you can put the logic to read ip-address and variable-binding and you can use snmptrap utility to send the trap to any manager. One thing to note here is that input to executable from snmptrapd is SNMPv2-style notification format,with SNMPv1 traps being converted as per RFC 2576, before being passed to the execuatble. In Snmpv1 trap apart from ipaddress of manger and var-binding,you have to fields generic trap and specific trap. I don't exactly how to determine these two fields. For more info read snmptrapd.conf and snmptrapd. Thanks, -mushtaq On 11/13/07, Brett.Carroll@bpd.treas.gov <Brett.Carroll@bpd.treas.gov> wrote: > > I read through the READMEs and it looks like snmptrapd can forward traps to > another device listening for snmp traps. What I would like to do is forward > SNMP v1/2/2c/3 traps to the Microsoft SNMP Trap Service as SNMP v1 traps. > Is this possible or is there an alternative? > > I am using NetIQ AppManager to monitor for SNMP Traps, but AppManager only > supports the Microsoft SNMP Trap Service. > > Thanks, > Brett Carroll > IT Specialist > Bureau of the Public Debt > (304)480-7731 > brett.carroll@bpd.treas.gov > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > 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/...net-snmp-users > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ 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/...net-snmp-users |