diff options
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2007-08-28 03:19:45 (GMT) |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2007-08-28 03:19:45 (GMT) |
commit | 29d5acb7c821c8be23b32be9e01b242efad5b872 (patch) | |
tree | 26bd250862fc252c2aa7d9b49dc80b4ac3d6edcc /contrib/check_snmp_procs.pl | |
parent | da6aa00a83eba3e60b7083ba75d26050ad5b6f01 (diff) | |
download | monitoring-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_snmp_procs.pl')
-rw-r--r-- | contrib/check_snmp_procs.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/check_snmp_procs.pl b/contrib/check_snmp_procs.pl index 678f6d5..991fc71 100644 --- a/contrib/check_snmp_procs.pl +++ b/contrib/check_snmp_procs.pl | |||
@@ -35,7 +35,7 @@ | |||
35 | #use strict; | 35 | #use strict; |
36 | use Getopt::Long; | 36 | use Getopt::Long; |
37 | use Net::SNMP qw (oid_lex_sort oid_base_match SNMP_VERSION_1); | 37 | use Net::SNMP qw (oid_lex_sort oid_base_match SNMP_VERSION_1); |
38 | use lib utils.pm; | 38 | use lib "/usr/local/nagios/libexec"; |
39 | use utils qw(%ERRORS &print_revision &support &usage); | 39 | use utils qw(%ERRORS &print_revision &support &usage); |
40 | 40 | ||
41 | my $PROGNAME="check_snmp_procs"; | 41 | my $PROGNAME="check_snmp_procs"; |