[SNMP4J] SNMP messages are not being send out

Frank Fock fock at agentpp.com
Mon Nov 19 20:18:58 CET 2012


Hi Prema,

No idea, what causes this. Is thios request put on a different interface
of the machine than sniffed by wireshark? Is the system dropping
the message? A Java bug (runtime issue)?

Best regards,
Frank


Am 02.10.2012 19:30, schrieb Prema Upot:
> Hi,
>
> We are encountering a situation where some SNMP messages are not going out of the machine where our application(with snmp4j) is running. I see snmp4j debug logs that shows messages are being sent out but wireshark dump does not have this message. We matched the request id in snmp4j logs to wireshark dump to make sure the message is not there.
>
> Eg: request id : 1200561071
> 2012-10-02 08:58:42,370 DEBUG  [ pool-1-thread-3           ] Running pending sync request with handle PduHandle[1200561071] and retry count left 0
> 2012-10-02 08:58:42,370 DEBUG  [ pool-1-thread-3           ] Sending message to 192.168.30.161/161 with length 63: 30 3d 02 01 01 04 06 70 75 62 6c 69 63 a0 30 02 04 47 8f 1b af 02 01 00 02 01 00 30 22 30 12 06 0e 2b 06 01 04 01 81 bb 56 04 05 01 13 01 01 05 00 30 0c 06 08 2b 06 01 02 01 01 05 00 05 00
>
> And after the 8 second timeout I see a log that this pending request was removed(but I don't see a corresponding "Request timed out" log).
>
> 2012-10-02 08:58:50,370 DEBUG  [ pool-1-thread-3           ] Removed pending request with handle: PduHandle[1200561071]
>
> I can see that the request previous to this one (id: 1200561070) and the next request (id: 1200561072) went through fine.
>
> Ours is a multi threaded application. Our snmp4j wrapper code is very similar to console.SnmpRequest but we use Snmp object as a singleton. A different PDU is created every time we send a request.
>
> Has someone come across such an issue before ? Can someone point to possible causes?
>
> Thanks,
> Prema
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j

-- 
---
AGENT++
Maximilian-Kolbe-Str. 10
73257 Koengen, Germany
https://agentpp.com
Phone: +49 7024 8688230
Fax:   +49 7024 8688231




More information about the SNMP4J mailing list