From 1e3cbc2eb5ba153c73ac9f9fa17f61c2e8ef68c7 Mon Sep 17 00:00:00 2001 From: Mat Sugumaran Date: Mon, 9 Jul 2007 16:08:45 +0000 Subject: [PATCH] git-svn-id: http://svn.centreon.com/Plugins/Dev@2637 6bcd3966-0018-0410-8128-fd23d134de7e --- centreon-plugins/src/traps/plugins/fill_trapDB | 2 +- centreon-plugins/src/traps/plugins/genSnmpttConfFile | 2 +- centreon-plugins/src/traps/plugins/trapHandler | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/centreon-plugins/src/traps/plugins/fill_trapDB b/centreon-plugins/src/traps/plugins/fill_trapDB index c61006f95..aa6932212 100644 --- a/centreon-plugins/src/traps/plugins/fill_trapDB +++ b/centreon-plugins/src/traps/plugins/fill_trapDB @@ -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/plugins/genSnmpttConfFile b/centreon-plugins/src/traps/plugins/genSnmpttConfFile index 715543579..8837ae41e 100644 --- a/centreon-plugins/src/traps/plugins/genSnmpttConfFile +++ b/centreon-plugins/src/traps/plugins/genSnmpttConfFile @@ -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/plugins/trapHandler b/centreon-plugins/src/traps/plugins/trapHandler index 2045882d7..1ffe6d4e7 100644 --- a/centreon-plugins/src/traps/plugins/trapHandler +++ b/centreon-plugins/src/traps/plugins/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