summaryrefslogtreecommitdiffstats
path: root/lib/Smokeping
diff options
context:
space:
mode:
authorNiko Tyni <ntyni@iki.fi>2007-04-14 20:11:52 +0200
committerNiko Tyni <ntyni@iki.fi>2007-04-14 20:11:52 +0200
commitb3a821582cc383947831954f9c562f8e8dddffd8 (patch)
treec086b4a6c45514593445b842eae2efb3c9073457 /lib/Smokeping
parented89ca2a7173da7ec19f207be121e40df14f051b (diff)
downloadsmokeping-b3a821582cc383947831954f9c562f8e8dddffd8.tar.gz
smokeping-b3a821582cc383947831954f9c562f8e8dddffd8.tar.xz
r1047@rispa: niko | 2007-04-14 12:15:40 +0300
don't test for the plugin, since the user may have overridden it
Diffstat (limited to 'lib/Smokeping')
-rw-r--r--lib/Smokeping/probes/EchoPingDNS.pm11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/Smokeping/probes/EchoPingDNS.pm b/lib/Smokeping/probes/EchoPingDNS.pm
index f710988..dc08d50 100644
--- a/lib/Smokeping/probes/EchoPingDNS.pm
+++ b/lib/Smokeping/probes/EchoPingDNS.pm
@@ -53,17 +53,6 @@ sub plugin_args {
return @args;
}
-sub test_usage {
- my $self = shift;
- my $bin = $self->{properties}{binary};
- # side effect: this sleeps for a random time between 0 and 1 seconds
- # is there anything smarter to do?
- croak("Your echoping binary doesn't support the dns plugin")
- if `$bin -m dns 127.0.0.1 2>&1` =~ /(not compiled|invalid option|usage)/i;
- $self->SUPER::test_usage;
- return;
-}
-
sub ProbeDesc($) {
return "DNS pings using the echoping_dns plugin";
}