[AGENT++] retransmit timeout
Frank Fock
fock at agentpp.com
Thu Mar 2 20:27:23 CET 2017
Hi Florian,
Which SNMP++ version are you using? (There was a fix many months ago, regarding timeout handling)
Best regards
Frank
> On 2 Mar 2017, at 11:08, Florian Lohoff <f at zz.de> wrote:
>
> 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
> _______________________________________________
> AGENTPP mailing list
> AGENTPP at agentpp.org
> https://oosnmp.net/mailman/listinfo/agentpp
More information about the AGENTPP
mailing list