On Fri, Dec 09, 2005 at 07:41:31PM -0500, Igor Petrovski wrote:
> This is the patch that I'm using for the SSH probe.
> 
> It adds another target variable, 'keytype', that specifies the type of 
> key to be used. I have
> few devices that only respond to queries for 'dsa' keys, so I needed a 
> way to pass the param.
> 
> It fixes the "pingfactor", which in the original is set to 10. 
> POSIX::times reports in clock ticks,
> which on my system is 100, so the probe was off by a factor of 10.
> 
> It also only reports the time only if it sees $ssh_re on STDERR,  and 
> unreachable otherwise.

Thanks! This will be in the next release.

I'm wondering, though, whether it would be smarter to use Time::HiRes
instead of POSIX::times(), to get a better time resolution. 100 ticks
per second seems a bit coarse...
-- 
Niko

--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://lists.ee.ethz.ch/smokeping-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

Reply via email to