diff options
author | Niko Tyni <ntyni@iki.fi> | 2007-10-27 15:00:42 +0200 |
---|---|---|
committer | Niko Tyni <ntyni@iki.fi> | 2007-10-27 15:00:42 +0200 |
commit | b2974cc84cbbefb8d117765acb7230530963aa5c (patch) | |
tree | 684981e37a36174d707e48bcf268317a7157f513 /lib/Smokeping/probes/EchoPingDiscard.pm | |
parent | 51243891b9e493882c59e582c5188f48e1127bed (diff) | |
download | smokeping-b2974cc84cbbefb8d117765acb7230530963aa5c.tar.gz smokeping-b2974cc84cbbefb8d117765acb7230530963aa5c.tar.xz |
* removed all the 'live' tests from the echoping probes --niko
* log a warning message on the first 'round' of pinging if curl or
echoping exits with non-zero status --niko
Diffstat (limited to 'lib/Smokeping/probes/EchoPingDiscard.pm')
-rw-r--r-- | lib/Smokeping/probes/EchoPingDiscard.pm | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/Smokeping/probes/EchoPingDiscard.pm b/lib/Smokeping/probes/EchoPingDiscard.pm index 490d373..bdd66a3 100644 --- a/lib/Smokeping/probes/EchoPingDiscard.pm +++ b/lib/Smokeping/probes/EchoPingDiscard.pm @@ -42,15 +42,6 @@ sub proto_args { return ("-d", @args); } -sub test_usage { - my $self = shift; - my $bin = $self->{properties}{binary}; - croak("Your echoping binary doesn't support DISCARD") - if `$bin -d 2>&1` !~ /^Usage/i; - $self->SUPER::test_usage; - return; -} - sub ProbeDesc($) { return "TCP or UDP Discard pings using echoping(1)"; } |