[smokeping-users] CiscoRTTMonEchoICMP probe and IOS 15.x
Mateusz Blaszczyk
blahu77 at gmail.com
Mon Mar 8 22:00:55 CET 2010
Tobi,
>>
> [...]
>
> I don't have such a router at my disposal, but I'll be glad to
> integrate your patch ... not sure what you mean with the timeout of
> 100s ... this seems a rather long time to me ... especially as you
> mention $pingtimeout=5.
>
well - I am talking about this (probe timeout, not target timeout)
probes/basefork.pm:168
# we add 1 so that the probes doing their own timeout handling
# have time to do it even in the worst case
my $timeout = $maxpings * $maxtimeout + 1;
20 pings * 5s + 1 = 101 so default $timeout==5 for probe is not enough
So that's why I have suggested $timeout for probe == 10.
there are a lot timeouts here :)
> how would your complete patch look like ?
>
the probes/basefork.pm is a generic file for all probes so I assume
that only the one that I have posted before. Not sure if I can specify
the default probe timeout in each probe source file?
--- /tmp/CiscoRTTMonEchoICMP.pm 2010-03-08 10:17:18.000000000 +0000
+++ CiscoRTTMonEchoICMP.pm 2010-03-05 15:53:39.000000000 +0000
@@ -75,7 +75,7 @@
}
}
-my $pingtimeout =2;
+my $pingtimeout =5;
sub new($$$)
{
Best Regards,
-mat
More information about the smokeping-users
mailing list