Thank you for the input. I could forward the trap to the destination specified in snmptrapd.conf.
Now I need to convert the SNMP V1 trap received to SNMP V3/V2 and then forward. Can you provide information to do the same inside forward_handler? I mean how can I convert SNMP V1 trap to SNMP V2 trap? Also SNMP V1 trap to SNMP V3 trap? thank you, renjith -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Dave Shield Sent: Tuesday, October 19, 2010 1:38 PM To: Renjith R. V. Cc: [email protected] Subject: Re: how to identify variable 'type' and 'value' from pdu structure On 19 October 2010 08:56, Renjith R. V. <[email protected]> wrote: > I could see the forward_handler in Snmptrapd. > But seems it is not getting called. > Do I need to enable/configure anything in snmptrapd to do so? $ man snmptrapd.conf forward OID|default DESTINATION forwards notifications that match the specified OID to another receiver listening on DESTINATION. The interpretation of OID (and default) is the same as for the traphandle directive). See the section LISTENING ADDRESSES in the snmpd(8) manual page for more information about the format of listening addresses. Dave ***** Confidentiality Statement/Disclaimer ***** This message and any attachments is intended for the sole use of the intended recipient. It may contain confidential information. Any unauthorized use, dissemination or modification is strictly prohibited. If you are not the intended recipient, please notify the sender immediately then delete it from all your systems, and do not copy, use or print. Internet communications are not secure and it is the responsibility of the recipient to make sure that it is virus/malicious code exempt. The company/sender cannot be responsible for any unauthorized alterations or modifications made to the contents. If you require any form of confirmation of the contents, please contact the company/sender. The company/sender is not liable for any errors or omissions in the content of this message. ------------------------------------------------------------------------------ Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
