[AGENT++] Fwd: retransmit timeout
Florian Lohoff
f at zz.de
Thu Mar 2 11:08:26 CET 2017
Hi,
i used snmp++ to write an interface check for an icinga2 instance. I
moved the installation from a VM to Real Hardware and suddenly i get
random SNMP timouts which i dont understand.
When i issue a tcpdump i see unexpected early retransmits of the original
request and i do see a "ICMP Port unreachable" for the response. It
seems something is horribly broken concerning the retransmit timeing:
CTarget target;
[ ... ]
target.set_retry(2);
target.set_timeout(100);
[ ... ]
status=snmp->get(*pdu, target);
This is basically the code. The tcpdump shows retransmits after ~5ms not
1000ms as the code and the Documentation imply.
I am bit puzzled.
Flo
--
Florian Lohoff f at zz.de
UTF-8 Test: The 🐈 ran after a 🐁, but the 🐁 ran away
More information about the AGENTPP
mailing list