replace 'use lib "/opt/nagios/lib/plugins";' by 'use lib "@NAGIOS_PLUGINS@";' in plugins : check_snmp_mem.pl check_snmp_processus_loaded.pl check_snmp_script_result.pl and check_snmp_storage.pl

git-svn-id: http://svn.centreon.com/trunk/plugins-2.x@7168 6bcd3966-0018-0410-8128-fd23d134de7e
This commit is contained in:
Nicolas Cordier 2008-11-28 09:42:21 +00:00
parent 8a4fd4e446
commit 72de1dae3b
4 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,7 @@ use Getopt::Long;
# Nagios specific
use lib "/usr/local/nagios/libexec";
use lib "@NAGIOS_PLUGINS@";
use utils qw(%ERRORS $TIMEOUT);
#my $TIMEOUT = 15;
#my %ERRORS=('OK'=>0,'WARNING'=>1,'CRITICAL'=>2,'UNKNOWN'=>3,'DEPENDENT'=>4);

View File

@ -24,7 +24,7 @@ use strict;
use Net::SNMP qw(:snmp);
use FindBin;
use lib "$FindBin::Bin";
use lib "/usr/local/nagios/libexec";
use lib "@NAGIOS_PLUGINS@";
use utils qw($TIMEOUT %ERRORS &print_revision &support);
if (eval "require centreon" ) {

View File

@ -24,7 +24,7 @@ use strict;
use Net::SNMP qw(:snmp);
use FindBin;
use lib "$FindBin::Bin";
use lib "/usr/local/nagios/libexec";
use lib "@NAGIOS_PLUGINS@";
use utils qw($TIMEOUT %ERRORS &print_revision &support);
if (eval "require centreon" ) {

View File

@ -17,7 +17,7 @@ use Getopt::Long;
# Nagios specific
use lib "/usr/local/nagios/libexec";
use lib "@NAGIOS_PLUGINS@";
use utils qw(%ERRORS $TIMEOUT);
#my $TIMEOUT = 15;
#my %ERRORS=('OK'=>0,'WARNING'=>1,'CRITICAL'=>2,'UNKNOWN'=>3,'DEPENDENT'=>4);