diff options
author | Niko Tyni <ntyni@iki.fi> | 2005-11-14 23:09:54 +0100 |
---|---|---|
committer | Niko Tyni <ntyni@iki.fi> | 2005-11-14 23:09:54 +0100 |
commit | f7520e9d2710026e7e154503fdba5e8a1751423a (patch) | |
tree | 3f24c611ac7949cbdc18fdda609cfc2375da7b89 /lib/Smokeping | |
parent | 334ec7968c236ad0bc7937b4ab87f5abd7c116a2 (diff) | |
download | smokeping-f7520e9d2710026e7e154503fdba5e8a1751423a.tar.gz smokeping-f7520e9d2710026e7e154503fdba5e8a1751423a.tar.xz |
* lib/Smokeping/probes/FPing.pm,
doc/smokeping_upgrade.pod,
CHANGES:
+ remove the FPing 'timeout' variable, since it never really did anything
Diffstat (limited to 'lib/Smokeping')
-rw-r--r-- | lib/Smokeping/probes/FPing.pm | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/Smokeping/probes/FPing.pm b/lib/Smokeping/probes/FPing.pm index e7d2a4c..9391849 100644 --- a/lib/Smokeping/probes/FPing.pm +++ b/lib/Smokeping/probes/FPing.pm @@ -104,7 +104,6 @@ sub ping ($){ return unless @{$self->addresses}; my @params = () ; push @params , "-b$self->{properties}{packetsize}" if $self->{properties}{packetsize}; - push @params, "-t" . int(1000 * $self->{properties}{timeout}) if $self->{properties}{timeout}; push @params, "-i" . int(1000 * $self->{properties}{mininterval}); push @params, "-p" . int(1000 * $self->{properties}{hostinterval}) if $self->{properties}{hostinterval}; my @cmd = ( @@ -158,17 +157,6 @@ sub probevars { _doc => "The ping packet size (in the range of 12-64000 bytes).", }, - timeout => { - _re => '(\d*\.)?\d+', - _example => 1.5, - _doc => <<DOC, -The fping "-t" parameter, but in (possibly fractional) seconds rather than -milliseconds, for consistency with other Smokeping probes. From fping(1): - -Initial target timeout. In the default mode, this is the amount of time that -ping waits for a response to its first request. Successive timeouts are multiplied by the backoff factor. -DOC - }, hostinterval => { _re => '(\d*\.)?\d+', _example => 1.5, |