Code

check_pgsql: Determine connection time in µs-resolution.
[nagiosplug.git] / plugins-scripts / check_netdns.pl
index 4bf7bd769a923a0002e48e88f52d7b1b7b1780ab..ecdbdb1a39f752677d22540eff925084becd9f9d 100755 (executable)
@@ -5,9 +5,14 @@
 #
 # Copyright 2000, virCIO, LLP
 #
-# $Log$
-# Revision 1.1  2002/02/28 06:43:00  egalstad
-# Initial revision
+# Revision 1.3  2002/05/07 05:35:49  sghosh
+# 2nd fix for ePN
+#
+# 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
 # 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 lib utils.pm;
+use utils ;
+
+my $PROGNAME = "check_netdns";
 
- 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,