[SNMP4J] problem to receive traps
Stefan M
smu.23 at web.de
Mon Jun 12 14:57:10 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
Hello Frank,
I am using this snmp object to send snmp messages as well. Hope this is
no problem? If I specifiy an Address as you do, I get a null pointer
exception when trying to send a message...but maybe this is due to
privileges on my machine... Will try it and send my results. Thanks for
this great package and support!
Stefan
More information about the SNMP4J
mailing list