From 15ce7b9d28dda1afb6b892c1e2a34e057f3fdb60 Mon Sep 17 00:00:00 2001 From: Tobi Oetiker Date: Mon, 15 Oct 2007 07:49:18 +0000 Subject: * fixed parsing of slaves statements in config file, broeken since I seemingly relaxed the hostname constraints. * removed all online testing from Curl and EchoPing probes --- lib/Smokeping/probes/EchoPingSmtp.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Smokeping/probes/EchoPingSmtp.pm') diff --git a/lib/Smokeping/probes/EchoPingSmtp.pm b/lib/Smokeping/probes/EchoPingSmtp.pm index a65b97c..74f7a64 100644 --- a/lib/Smokeping/probes/EchoPingSmtp.pm +++ b/lib/Smokeping/probes/EchoPingSmtp.pm @@ -54,7 +54,7 @@ sub test_usage { my $self = shift; my $bin = $self->{properties}{binary}; croak("Your echoping binary doesn't support SMTP") - if `$bin -S 0.0.0.1 2>&1` =~ /(not compiled|invalid option|usage)/i; + if `$bin -S 2>&1` !~ /^Usage/; $self->SUPER::test_usage; return; } -- cgit v1.2.3-24-g4f1b