From 9c16e89302aed9cb95aa2f83deb7397f851cc435 Mon Sep 17 00:00:00 2001 From: Julien Mathis Date: Sun, 18 Mar 2007 00:02:28 +0000 Subject: [PATCH] git-svn-id: http://svn.centreon.com/Plugins/Dev@1829 6bcd3966-0018-0410-8128-fd23d134de7e --- src/check_graph_http.pl | 2 +- src/check_graph_load_average.pl | 2 +- src/check_graph_remote_storage.pl | 2 +- src/check_graph_tcp.pl | 3 +-- src/check_graph_traffic.pl | 2 +- src/check_meta_service.pl | 2 +- src/check_nt_oreon.pl | 2 +- 7 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/check_graph_http.pl b/src/check_graph_http.pl index e48a262ff..95e801022 100644 --- a/src/check_graph_http.pl +++ b/src/check_graph_http.pl @@ -26,7 +26,7 @@ use strict; use FindBin; use lib "$FindBin::Bin"; -use lib "/srv/nagios/libexec"; +use lib "@NAGIOS_PLUGINS@"; use utils qw($TIMEOUT %ERRORS &print_revision &support); if (eval "require oreon" ) { diff --git a/src/check_graph_load_average.pl b/src/check_graph_load_average.pl index 8113726dc..20f60c7d8 100644 --- a/src/check_graph_load_average.pl +++ b/src/check_graph_load_average.pl @@ -25,7 +25,7 @@ use Net::SNMP qw(:snmp); use FindBin; use lib "$FindBin::Bin"; #use lib "/srv/nagios/libexec"; -use lib "/usr/local/nagios/libexec/"; +use lib "@NAGIOS_PLUGINS@"; use utils qw($TIMEOUT %ERRORS &print_revision &support); if (eval "require oreon" ) { diff --git a/src/check_graph_remote_storage.pl b/src/check_graph_remote_storage.pl index 5fbabd930..fa003aab5 100644 --- a/src/check_graph_remote_storage.pl +++ b/src/check_graph_remote_storage.pl @@ -25,7 +25,7 @@ use strict; use Net::SNMP qw(:snmp); use FindBin; use lib "$FindBin::Bin"; -use lib "/srv/nagios/libexec"; +use lib "@NAGIOS_PLUGINS@"; #use lib "/usr/lib/nagios/plugins/"; use utils qw($TIMEOUT %ERRORS &print_revision &support); diff --git a/src/check_graph_tcp.pl b/src/check_graph_tcp.pl index 9a9d60d2c..05fb739b9 100644 --- a/src/check_graph_tcp.pl +++ b/src/check_graph_tcp.pl @@ -20,8 +20,7 @@ use strict; use FindBin; use lib "$FindBin::Bin"; -#use lib "@NAGIOS_PLUGINS@"; -use lib "/usr/lib/nagios/plugins"; +use lib "@NAGIOS_PLUGINS@"; use utils qw($TIMEOUT %ERRORS &print_revision &support); if (eval "require oreon" ) { diff --git a/src/check_graph_traffic.pl b/src/check_graph_traffic.pl index 8745ee306..f3afc49b7 100644 --- a/src/check_graph_traffic.pl +++ b/src/check_graph_traffic.pl @@ -26,7 +26,7 @@ use strict; use Net::SNMP qw(:snmp oid_lex_sort); use FindBin; use lib "$FindBin::Bin"; -use lib "/srv/nagios/libexec"; +use lib "@NAGIOS_PLUGINS@"; use utils qw($TIMEOUT %ERRORS &print_revision &support); if (eval "require oreon" ) { diff --git a/src/check_meta_service.pl b/src/check_meta_service.pl index e67f0e51f..f90edaed9 100644 --- a/src/check_meta_service.pl +++ b/src/check_meta_service.pl @@ -26,7 +26,7 @@ use DBI; use vars qw($PROGNAME); use Getopt::Long; use vars qw($opt_V $opt_d $opt_H $opt_h $opt_i); -use lib "/srv/nagios/libexec"; +use lib "@NAGIOS_PLUGINS@"; use utils qw($TIMEOUT %ERRORS &print_revision &support); ## For Debug mode = 1 diff --git a/src/check_nt_oreon.pl b/src/check_nt_oreon.pl index 7f1d86371..f268b845a 100644 --- a/src/check_nt_oreon.pl +++ b/src/check_nt_oreon.pl @@ -24,7 +24,7 @@ use strict; use FindBin; use lib "$FindBin::Bin"; -use lib "/srv/nagios/libexec"; +use lib "@NAGIOS_PLUGINS@"; use utils qw($TIMEOUT %ERRORS &print_revision &support); if (eval "require oreon" ) {