From 0ad891d6482e4cc06d9b5f2e113f6370941641ba Mon Sep 17 00:00:00 2001 From: Julien Mathis Date: Thu, 7 Jun 2007 21:04:04 +0000 Subject: [PATCH] bad macro for oreon install dir git-svn-id: http://svn.centreon.com/Plugins/Dev@2466 6bcd3966-0018-0410-8128-fd23d134de7e --- centreon-plugins/src/traps/fill_trapDB.pl | 2 +- centreon-plugins/src/traps/genSnmpttConfFile.pl | 2 +- centreon-plugins/src/traps/trapHandler | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/centreon-plugins/src/traps/fill_trapDB.pl b/centreon-plugins/src/traps/fill_trapDB.pl index ecb0eaa39..85e7982f1 100644 --- a/centreon-plugins/src/traps/fill_trapDB.pl +++ b/centreon-plugins/src/traps/fill_trapDB.pl @@ -29,7 +29,7 @@ use Getopt::Long; use DBI; use vars qw($mysql_database_oreon $mysql_database_ods $mysql_host $mysql_user $mysql_passwd); -require "@OREON_PATH@/ODS/etc/conf.pm"; +require "@INSTALL_DIR_OREON@/ODS/etc/conf.pm"; ######################################### ## TEST IF OID ALREADY EXISTS IN DATABASE diff --git a/centreon-plugins/src/traps/genSnmpttConfFile.pl b/centreon-plugins/src/traps/genSnmpttConfFile.pl index f23d18882..3492af70a 100644 --- a/centreon-plugins/src/traps/genSnmpttConfFile.pl +++ b/centreon-plugins/src/traps/genSnmpttConfFile.pl @@ -29,7 +29,7 @@ use Getopt::Long; use DBI; use vars qw($mysql_database_oreon $mysql_database_ods $mysql_host $mysql_user $mysql_passwd); -require "@OREON_PATH@/ODS/etc/conf.pm"; +require "@INSTALL_DIR_OREON@/ODS/etc/conf.pm"; ###################################### ## Get snmptt configuration files path diff --git a/centreon-plugins/src/traps/trapHandler b/centreon-plugins/src/traps/trapHandler index 7e7ae2ab8..2ad8c1c48 100644 --- a/centreon-plugins/src/traps/trapHandler +++ b/centreon-plugins/src/traps/trapHandler @@ -28,7 +28,7 @@ use strict; use DBI; use vars qw($mysql_database_oreon $mysql_database_ods $mysql_host $mysql_user $mysql_passwd); -require "@OREON_PATH@/ODS/etc/conf.pm"; +require "@INSTALL_DIR_OREON@/ODS/etc/conf.pm"; ############################### ## GET HOSTNAME FROM IP ADDRESS