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