[Nagiosplug-checkins] SF.net SVN: nagiosplug: [1771] nagiosplug/trunk/contrib

dermoth at users.sourceforge.net dermoth at users.sourceforge.net
Tue Aug 28 05:19:46 CEST 2007


Revision: 1771
          http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=1771&view=rev
Author:   dermoth
Date:     2007-08-27 20:19:45 -0700 (Mon, 27 Aug 2007)

Log Message:
-----------
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.

Modified Paths:
--------------
    nagiosplug/trunk/contrib/check_apc_ups.pl
    nagiosplug/trunk/contrib/check_appletalk.pl
    nagiosplug/trunk/contrib/check_linux_raid.pl
    nagiosplug/trunk/contrib/check_snmp_procs.pl

Modified: nagiosplug/trunk/contrib/check_apc_ups.pl
===================================================================
--- nagiosplug/trunk/contrib/check_apc_ups.pl	2007-08-09 12:32:28 UTC (rev 1770)
+++ nagiosplug/trunk/contrib/check_apc_ups.pl	2007-08-28 03:19:45 UTC (rev 1771)
@@ -13,7 +13,7 @@
 use Getopt::Long;
 use vars qw($opt_V $opt_h $opt_H $opt_T $opt_t $opt_R $opt_r 
   $opt_L $opt_l $PROGNAME);
-use lib utils.pm;
+use lib "/usr/local/nagios/libexec";
 use utils qw(%ERRORS &print_revision &support &usage);
 
 sub print_help ();

Modified: nagiosplug/trunk/contrib/check_appletalk.pl
===================================================================
--- nagiosplug/trunk/contrib/check_appletalk.pl	2007-08-09 12:32:28 UTC (rev 1770)
+++ nagiosplug/trunk/contrib/check_appletalk.pl	2007-08-28 03:19:45 UTC (rev 1771)
@@ -22,7 +22,7 @@
 }
 
 use strict;
-use lib utils.pm;
+use lib "/usr/local/nagios/libexec";
 
 use utils qw($TIMEOUT %ERRORS &print_revision &support);
 use vars qw($PROGNAME);

Modified: nagiosplug/trunk/contrib/check_linux_raid.pl
===================================================================
--- nagiosplug/trunk/contrib/check_linux_raid.pl	2007-08-09 12:32:28 UTC (rev 1770)
+++ nagiosplug/trunk/contrib/check_linux_raid.pl	2007-08-28 03:19:45 UTC (rev 1771)
@@ -23,7 +23,7 @@
 #	  WARNING md0 status=[UUU_U], recovery=46.4%, finish=123.0min
 
 use strict;
-use lib utils.pm;
+use lib "/usr/local/nagios/libexec";
 use utils qw(%ERRORS);
 
 # die with an error if we're not on Linux

Modified: nagiosplug/trunk/contrib/check_snmp_procs.pl
===================================================================
--- nagiosplug/trunk/contrib/check_snmp_procs.pl	2007-08-09 12:32:28 UTC (rev 1770)
+++ nagiosplug/trunk/contrib/check_snmp_procs.pl	2007-08-28 03:19:45 UTC (rev 1771)
@@ -35,7 +35,7 @@
 #use strict;
 use Getopt::Long;
 use Net::SNMP qw (oid_lex_sort oid_base_match SNMP_VERSION_1);
-use lib utils.pm;
+use lib "/usr/local/nagios/libexec";
 use utils qw(%ERRORS &print_revision &support &usage);
 
 my $PROGNAME="check_snmp_procs";


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Commits mailing list