mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 17:24:18 +02:00
IcingaConfig: hardcode log_duration = 0...
...for auto-generated endpoints only.
This commit is contained in:
parent
5d3512063f
commit
848e2d2f74
@ -362,8 +362,9 @@ throw $e;
|
||||
if (IcingaEndpoint::exists($name, $this->connection)) continue;
|
||||
|
||||
$props = array(
|
||||
'object_name' => $name,
|
||||
'object_type' => 'object',
|
||||
'object_name' => $name,
|
||||
'object_type' => 'object',
|
||||
'log_duration' => 0
|
||||
);
|
||||
if ($host->getResolvedProperty('master_should_connect') === 'y') {
|
||||
$props['host'] = $host->getResolvedProperty('address');
|
||||
|
Loading…
x
Reference in New Issue
Block a user