summaryrefslogtreecommitdiffstats
path: root/plugins-scripts/check_netdns.pl
diff options
context:
space:
mode:
Diffstat (limited to 'plugins-scripts/check_netdns.pl')
-rwxr-xr-xplugins-scripts/check_netdns.pl13
1 files changed, 10 insertions, 3 deletions
diff --git a/plugins-scripts/check_netdns.pl b/plugins-scripts/check_netdns.pl
index 4bf7bd76..65ad7beb 100755
--- a/plugins-scripts/check_netdns.pl
+++ b/plugins-scripts/check_netdns.pl
@@ -6,8 +6,11 @@
6# Copyright 2000, virCIO, LLP 6# Copyright 2000, virCIO, LLP
7# 7#
8# $Log$ 8# $Log$
9# Revision 1.1 2002/02/28 06:43:00 egalstad 9# Revision 1.2 2002/05/02 16:43:29 sghosh
10# Initial revision 10# fix for embedded perl
11#
12# Revision 1.1.1.1 2002/02/28 06:43:00 egalstad
13# Initial import of existing plugin code
11# 14#
12# Revision 1.1 2000/08/03 20:41:12 karldebisschop 15# Revision 1.1 2000/08/03 20:41:12 karldebisschop
13# rename to avoid conflict when installing 16# rename to avoid conflict when installing
@@ -18,11 +21,15 @@
18# Revision 1.1 2000/07/20 19:09:13 cwg 21# Revision 1.1 2000/07/20 19:09:13 cwg
19# All the pieces needed to use my version of check_dns. 22# All the pieces needed to use my version of check_dns.
20# 23#
24#
21 25
22use Getopt::Long; 26use Getopt::Long;
23use Net::DNS; 27use Net::DNS;
28use Findbin;
29use lib "$FindBin::Bin";
30use utils ;
24 31
25 Getopt::Long::Configure(`bundling`); 32Getopt::Long::Configure(`bundling`);
26GetOptions("V" => $opt_V, "version" => $opt_V, 33GetOptions("V" => $opt_V, "version" => $opt_V,
27 "h" => $opt_h, "help" => $opt_h, 34 "h" => $opt_h, "help" => $opt_h,
28 "t=i" => $opt_t, "timeout=i" => $opt_t, 35 "t=i" => $opt_t, "timeout=i" => $opt_t,