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…
Reference in New Issue