summaryrefslogtreecommitdiffstats
path: root/lib/Smokeping/probes/EchoPingPlugin.pm
diff options
context:
space:
mode:
authorNiko Tyni <ntyni@iki.fi>2007-10-27 15:00:42 +0200
committerNiko Tyni <ntyni@iki.fi>2007-10-27 15:00:42 +0200
commitb2974cc84cbbefb8d117765acb7230530963aa5c (patch)
tree684981e37a36174d707e48bcf268317a7157f513 /lib/Smokeping/probes/EchoPingPlugin.pm
parent51243891b9e493882c59e582c5188f48e1127bed (diff)
downloadsmokeping-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/EchoPingPlugin.pm')
-rw-r--r--lib/Smokeping/probes/EchoPingPlugin.pm10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/Smokeping/probes/EchoPingPlugin.pm b/lib/Smokeping/probes/EchoPingPlugin.pm
index 0762f45..7c1a758 100644
--- a/lib/Smokeping/probes/EchoPingPlugin.pm
+++ b/lib/Smokeping/probes/EchoPingPlugin.pm
@@ -74,16 +74,6 @@ sub proto_args {
return ("-m", $plugin);
}
-sub test_usage {
- my $self = shift;
- my $bin = $self->{properties}{binary};
- # is there anything smarter to do?
- croak("Your echoping binary doesn't support plugins. At least version 6 is required.")
- if `$bin -m improbable_plugin_name 0.0.0.1 2>&1` =~ /invalid option/i;
- $self->SUPER::test_usage;
- return;
-}
-
sub ProbeDesc($) {
return "Pings using an echoping(1) plugin";
}