summaryrefslogtreecommitdiffstats
path: root/contrib/check_apc_ups.pl
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2007-08-28 03:19:45 +0000
committerThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2007-08-28 03:19:45 +0000
commit29d5acb7c821c8be23b32be9e01b242efad5b872 (patch)
tree26bd250862fc252c2aa7d9b49dc80b4ac3d6edcc /contrib/check_apc_ups.pl
parentda6aa00a83eba3e60b7083ba75d26050ad5b6f01 (diff)
downloadmonitoring-plugins-29d5acb7c821c8be23b32be9e01b242efad5b872.tar.gz
These plugins assumed the "use lib util.pm;" would be substituted like standard Perl plugins (in plugins-scripts) which isn't the case in contrib. I changed the "use lib" line to use the default path. People using custom paths will have to change it manually.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1771 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'contrib/check_apc_ups.pl')
-rw-r--r--contrib/check_apc_ups.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/check_apc_ups.pl b/contrib/check_apc_ups.pl
index 74ae229d..2b6990f7 100644
--- a/contrib/check_apc_ups.pl
+++ b/contrib/check_apc_ups.pl
@@ -13,7 +13,7 @@ use strict;
13use Getopt::Long; 13use Getopt::Long;
14use vars qw($opt_V $opt_h $opt_H $opt_T $opt_t $opt_R $opt_r 14use vars qw($opt_V $opt_h $opt_H $opt_T $opt_t $opt_R $opt_r
15 $opt_L $opt_l $PROGNAME); 15 $opt_L $opt_l $PROGNAME);
16use lib utils.pm; 16use lib "/usr/local/nagios/libexec";
17use utils qw(%ERRORS &print_revision &support &usage); 17use utils qw(%ERRORS &print_revision &support &usage);
18 18
19sub print_help (); 19sub print_help ();