git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@22 f882894a-f735-0410-b71e-b25c423dba1c
@@ -4,10 +4,11 @@
use strict;
use Getopt::Long;
use vars qw($opt_V $opt_h $opt_H $opt_w $opt_c $PROGNAME);
-use FindBin;
-use lib "$FindBin::Bin" ;
+use lib utils.pm ;
use utils qw(%ERRORS &print_revision &support &usage);
+$PROGNAME = "check_breeze";
+
sub print_help ();
sub print_usage ();
@@ -33,10 +33,11 @@
use vars qw($opt_V $opt_h $opt_F $verbose $PROGNAME);
-use FindBin ;
-use lib "$FindBin::Bin";
+use lib utils.pm;
use utils qw($TIMEOUT %ERRORS &print_revision &support &usage);
+$PROGNAME="check_flexlm";
@@ -52,8 +52,7 @@ use strict;
use vars qw($opt_V $opt_h $opt_t $opt_p $opt_H $opt_w $opt_c $verbose);
use vars qw($PROGNAME);
# ----------------------------------------------------[ Function Prototypes ]--
@@ -71,6 +70,7 @@ $ENV{BASH_ENV} = "";
# -----------------------------------------------------------------[ Global ]--
+$PROGNAME = "check_ircd";
my $NICK="ircd$$";
my $USER_INFO="monitor localhost localhost : ";
@@ -6,6 +6,9 @@
# Copyright 2000, virCIO, LLP
#
# $Log$
+# 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
@@ -25,10 +28,11 @@
use Net::DNS;
-use Findbin;
use utils ;
+my $PROGNAME = "check_netdns";
Getopt::Long::Configure(`bundling`);
GetOptions("V" => $opt_V, "version" => $opt_V,
"h" => $opt_h, "help" => $opt_h,
@@ -47,7 +47,7 @@
# source. This happens while starting up and if contact
# with master has been lost.
-# Modifed to run under Embedded Perl - patch from Douglas Warner
+# Modifed to run under Embedded Perl
@@ -56,10 +56,11 @@ use POSIX;
use vars qw($opt_V $opt_h $opt_H $opt_w $opt_c $verbose $PROGNAME);
use utils qw($TIMEOUT %ERRORS &print_revision &support);
+$PROGNAME="check_ntp";
@@ -4,8 +4,7 @@
-use lib "$Findbin::Bin";
@@ -13,6 +12,7 @@ use vars qw($opt_V $opt_h $verbose $opt_w $opt_c $opt_H);
my (@test, $low1, $med1, $high1, $snr, $low2, $med2, $high2);
my ($low, $med, $high, $lowavg, $medavg, $highavg, $tot, $ss);
+$PROGNAME = "check_wave";