2012-09-20 16:34:18 +02:00
|
|
|
|
|
|
|
our $libpath = '/usr/share/centreon/lib/centreon-esxd';
|
2012-09-11 11:44:43 +02:00
|
|
|
our $port = 5700;
|
2012-10-08 11:31:06 +02:00
|
|
|
our %vsphere_server = ('default' => {'url' => 'https://XXXXXX/sdk',
|
|
|
|
'username' => 'XXXXX',
|
|
|
|
'password' => 'XXXXX'},
|
|
|
|
'testvc' => {'url' => 'https://XXXXXX/sdk',
|
|
|
|
'username' => 'XXXXX',
|
|
|
|
'password' => 'XXXXXX'}
|
|
|
|
);
|
2012-09-11 11:44:43 +02:00
|
|
|
our $TIMEOUT_VSPHERE = 60;
|
|
|
|
our $TIMEOUT = 60;
|
|
|
|
our $TIMEOUT_KILL = 30;
|
|
|
|
our $REFRESH_KEEPER_SESSION = 15;
|
2012-09-13 15:36:49 +02:00
|
|
|
# Log Mode: 0 = stdout, 1 = file, 2 = syslog
|
|
|
|
our $log_mode = 1;
|
2012-09-19 18:02:47 +02:00
|
|
|
# Criticity: 0 = nothing, 1 = critical, 3 = info
|
2012-09-13 15:36:49 +02:00
|
|
|
our $log_crit = 1;
|
|
|
|
# Specify if $log_mode = 2 and CPAN Module Unix::Syslog is installed
|
|
|
|
our $log_facility;
|
|
|
|
#our $log_facility = LOG_DAEMON;
|
2012-09-11 11:44:43 +02:00
|
|
|
our $LOG = "/tmp/centreon_esxd.log";
|
|
|
|
|
|
|
|
1;
|