aboutsummaryrefslogtreecommitdiff
path: root/plugins-scripts/check_ircd.pl
diff options
context:
space:
mode:
authorGravatar Subhendu Ghosh <sghosh@users.sourceforge.net> 2002-05-07 05:35:49 +0000
committerGravatar Subhendu Ghosh <sghosh@users.sourceforge.net> 2002-05-07 05:35:49 +0000
commitd95644521ccd544cbb9a8bfeda927a6b9f6fb01a (patch)
treee4b0f1fc5d7ff91f23d211adf91f53b2debab74f /plugins-scripts/check_ircd.pl
parentbecc0f34e60500798bd15bf5af6e4b8c52707d0a (diff)
downloadmonitoring-plugins-d95644521ccd544cbb9a8bfeda927a6b9f6fb01a.tar.gz
2nd fix for ePN
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@22 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins-scripts/check_ircd.pl')
-rwxr-xr-xplugins-scripts/check_ircd.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins-scripts/check_ircd.pl b/plugins-scripts/check_ircd.pl
index 098a8e70..7a90a96b 100755
--- a/plugins-scripts/check_ircd.pl
+++ b/plugins-scripts/check_ircd.pl
@@ -52,8 +52,7 @@ use strict;
use Getopt::Long;
use vars qw($opt_V $opt_h $opt_t $opt_p $opt_H $opt_w $opt_c $verbose);
use vars qw($PROGNAME);
-use FindBin;
-use lib "$FindBin::Bin";
+use lib utils.pm;
use utils qw($TIMEOUT %ERRORS &print_revision &support &usage);
# ----------------------------------------------------[ Function Prototypes ]--
@@ -71,6 +70,7 @@ $ENV{BASH_ENV} = "";
# -----------------------------------------------------------------[ Global ]--
+$PROGNAME = "check_ircd";
my $NICK="ircd$$";
my $USER_INFO="monitor localhost localhost : ";