The thing is the traps and informs are received locally meaning on 127.0.0.1. When I use another machine to receive the traps, I cannot receive them. Let me elaborate further:
Case 1: PC 1 - has snmp agent (SampleAgent from snmp4j source), has snmp monitor ----------------------- result: traps are received by PC 1. Case 2: PC 1 - has snmp agent (snmp4j agent) PC 2 - has snmp monitor ----------------------- Result: no traps received by PC 2 Btw, I didn't change anything in the SampleAgent source to make it run. -----Original Message----- From: Kazantsev, Andrey V. [mailto:[email protected]] Sent: Friday, July 23, 2010 5:30 PM To: Ver Allan N. Sumabat Cc: [email protected] Subject: RE: [SNMP4J] Trap Messages using SampleAgent from the network not working Hi, By default traps and informs use port 162, maybe be this is the cause of problem? -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Ver Allan N. Sumabat Sent: Friday, July 23, 2010 16:09 To: [email protected] Subject: [SNMP4J] Trap Messages using SampleAgent from the network not working Hi List, I'm having a problem trying to get trap messages over the network using the SampleAgent class. I tried starting it with the following argument: udp:127.0.0.1/161 Using the iReasoning MIBBrowser personal edition, I can receive trap messages locally. When I use another pc as snmp monitor, I could no longer receive those trap messages. I tried changing the program argument to udp:192.168.x.x/161 which is the ip address of the pc running the agent but still same result. Any ideas? Thanks, Allan _______________________________________________ SNMP4J mailing list [email protected] http://lists.agentpp.org/mailman/listinfo/snmp4j _______________________________________________ SNMP4J mailing list [email protected] http://lists.agentpp.org/mailman/listinfo/snmp4j
