aboutsummaryrefslogtreecommitdiff
path: root/plugins-scripts/check_netdns.pl
diff options
context:
space:
mode:
authorGravatar Subhendu Ghosh <sghosh@users.sourceforge.net> 2002-05-02 16:43:29 +0000
committerGravatar Subhendu Ghosh <sghosh@users.sourceforge.net> 2002-05-02 16:43:29 +0000
commitbecc0f34e60500798bd15bf5af6e4b8c52707d0a (patch)
treec117e73085955568f57d4eb89f41640297796977 /plugins-scripts/check_netdns.pl
parentbbcaeb1db1666c606a3578d3d24f1618f8c9947c (diff)
downloadmonitoring-plugins-becc0f34e60500798bd15bf5af6e4b8c52707d0a.tar.gz
fix for embedded perl
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@21 f882894a-f735-0410-b71e-b25c423dba1c
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 @@
# Copyright 2000, virCIO, LLP
#
# $Log$
-# Revision 1.1 2002/02/28 06:43:00 egalstad
-# Initial revision
+# Revision 1.2 2002/05/02 16:43:29 sghosh
+# fix for embedded perl
+#
+# Revision 1.1.1.1 2002/02/28 06:43:00 egalstad
+# Initial import of existing plugin code
#
# Revision 1.1 2000/08/03 20:41:12 karldebisschop
# rename to avoid conflict when installing
@@ -18,11 +21,15 @@
# Revision 1.1 2000/07/20 19:09:13 cwg
# All the pieces needed to use my version of check_dns.
#
+#
use Getopt::Long;
use Net::DNS;
+use Findbin;
+use lib "$FindBin::Bin";
+use utils ;
- Getopt::Long::Configure(`bundling`);
+Getopt::Long::Configure(`bundling`);
GetOptions("V" => $opt_V, "version" => $opt_V,
"h" => $opt_h, "help" => $opt_h,
"t=i" => $opt_t, "timeout=i" => $opt_t,