Thanks Frank. Yes I am using that OID (snmpTrapAddress). I was wondering if there is some other way also to achieve this, as we are having multiple NMS in northbound. Adding this oid works in few cases but one of manager (Zenoss) doesn't understand this oid 'snmpTrapAddress'
Regards, Shivi -----Original Message----- From: SNMP4J [mailto:[email protected]] On Behalf Of Frank Fock Sent: Tuesday, November 11, 2014 2:13 PM To: [email protected] Subject: Re: [SNMP4J] forwarding traps to NMS via a proxy Hi Shivi, Although the SNMP stanard discourages usage of inband source addresses, you can use the snmpTrapAddress from the SNMP-COMMUNITY-MIB as additional object to all the proxied traps. Best regards, Frank Am 11.11.2014 07:47, schrieb Shivi Goel -X (shivigoe - NICHEPRO TECHNOLOGIES PRIVATE LIMITED at Cisco): > Hi, > How to implement IP spoofing for v2/v3 traps using SNMP4J? > I have a project requirement where we need to have a trap collector between > the network element and NMS, so the traps would be forwarded to NMS via this > trap collector and not directly from this device. > But the NMS is not aware of this middle layer and should feel as if the trap > is coming directly from the device. > For v1 traps, setAgentAddress() is available in snmp4j which maps the > v1 trap to real device in NMS But there is no such support for v2 and v3 > traps. How to handle this v2/v3 trap forwarding via proxy? > > Thanks in advance. > > Regards, > Shivi > > _______________________________________________ > SNMP4J mailing list > [email protected] > https://oosnmp.net/mailman/listinfo/snmp4j -- --- AGENT++ Maximilian-Kolbe-Str. 10 73257 Koengen, Germany https://agentpp.com Phone: +49 7024 8688230 Fax: +49 7024 8688231 _______________________________________________ SNMP4J mailing list [email protected] https://oosnmp.net/mailman/listinfo/snmp4j _______________________________________________ SNMP4J mailing list [email protected] https://oosnmp.net/mailman/listinfo/snmp4j
