From b2974cc84cbbefb8d117765acb7230530963aa5c Mon Sep 17 00:00:00 2001 From: Niko Tyni Date: Sat, 27 Oct 2007 13:00:42 +0000 Subject: * 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 --- lib/Smokeping/probes/EchoPingHttps.pm | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'lib/Smokeping/probes/EchoPingHttps.pm') diff --git a/lib/Smokeping/probes/EchoPingHttps.pm b/lib/Smokeping/probes/EchoPingHttps.pm index 941df32..c9bcb0c 100644 --- a/lib/Smokeping/probes/EchoPingHttps.pm +++ b/lib/Smokeping/probes/EchoPingHttps.pm @@ -50,17 +50,6 @@ sub proto_args { return ("-C", @args); } -sub test_usage { - my $self = shift; - - my $bin = $self->{properties}{binary}; - my $response = `$bin -C -h / 0.0.0.1 2>&1`; - croak("Your echoping binary doesn't support SSL") - if ($response =~ /(not compiled|invalid option|usage)/i); - $self->SUPER::test_usage; - return; -} - sub ProbeDesc($) { return "HTTPS pings using echoping(1)"; } -- cgit v1.2.3-24-g4f1b