[SNMP4J] problem to receive traps
Stefan M
smu.23 at web.de
Mon Jun 12 15:24:34 CEST 2006
> Hello Stefan,
>
> You did not specify the interface and port on which you want
> to receive SNMP messsages. SNMP4J therefore chooses an arbitrary
> one. Have you sent the traps to that port?
>
> If you have used
>
> this.snmp = new Snmp(new DefaultUdpTransportMapping());
>
> by accident, then please specify the port like this
>
> Address listenAddress = GenericAddress.parse("udp:0.0.0.0/162");
> TransportMapping transport =
> new DefaultUdpTransportMapping(listenAddress);
> snmp = new Snmp(transport);
Ok works fine. Problem was due to missing rights on my machine:-)
:Stefan)
More information about the SNMP4J
mailing list