@CENTREON_PATH@ macro added
git-svn-id: http://svn.centreon.com/Plugins/Dev@2545 6bcd3966-0018-0410-8128-fd23d134de7e
This commit is contained in:
parent
41b8a926e1
commit
07f8604747
|
@ -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 "/srv/oreon/ODS/etc/conf.pm";
|
||||
require "@CENTREON_PATH@/ODS/etc/conf.pm";
|
||||
|
||||
#########################################
|
||||
## TEST IF OID ALREADY EXISTS IN DATABASE
|
||||
|
|
|
@ -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 "/srv/oreon/ODS/etc/conf.pm";
|
||||
require "@CENTREON_PATH@/ODS/etc/conf.pm";
|
||||
|
||||
######################################
|
||||
## Get snmptt configuration files path
|
||||
|
|
|
@ -28,7 +28,7 @@ use strict;
|
|||
use DBI;
|
||||
|
||||
use vars qw($mysql_database_oreon $mysql_database_ods $mysql_host $mysql_user $mysql_passwd);
|
||||
require "/srv/oreon/ODS/etc/conf.pm";
|
||||
require "@CENTREON_PATH@/ODS/etc/conf.pm";
|
||||
|
||||
###############################
|
||||
## GET HOSTNAME FROM IP ADDRESS
|
||||
|
|
Loading…
Reference in New Issue