From 8edaa7fee41f9d5597a656123a481f2483906053 Mon Sep 17 00:00:00 2001 From: Tobi Oetiker Date: Wed, 30 Aug 2006 23:12:31 +0000 Subject: added alert mailtemplates and new probe config ProbeUnit --- lib/Smokeping/probes/FTPtransfer.pm | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'lib/Smokeping/probes/FTPtransfer.pm') diff --git a/lib/Smokeping/probes/FTPtransfer.pm b/lib/Smokeping/probes/FTPtransfer.pm index 707129c..c4c39e8 100644 --- a/lib/Smokeping/probes/FTPtransfer.pm +++ b/lib/Smokeping/probes/FTPtransfer.pm @@ -53,7 +53,7 @@ Many variables can be specified either in the probe or in the target definition, the target-specific variable will override the prove-specific variable. DOC authors => <<'DOC', -Tobias Oetiker +Tobias Oetiker sponsored by Virtela DOC bugs => <quit; $elapsed = ( $end - $start ); $ok or next; - my $speed = $elapsed / $size; + my $speed = $size / $elapsed; $self->do_debug("$host: ftp $mode $speed Bytes/s"); push @rates, $speed; } -- cgit v1.2.3-24-g4f1b