CompatHost|CompatService: Fix incorrect <type>_perfdata path

fixes #719
This commit is contained in:
Johannes Meyer 2023-02-21 17:06:38 +01:00
parent 8fa8f4baf0
commit 0222b4e2c0
2 changed files with 2 additions and 8 deletions

View file

@ -91,10 +91,7 @@ class CompatHost extends Host
],
'host_passive_checks_enabled_changed' => null,
'host_percent_state_change' => null,
'host_perfdata' => [
'path' => ['state', 'performance_data'],
'type' => 'bool'
],
'host_perfdata' => ['path' => ['state', 'performance_data']],
'host_process_perfdata' => [
'path' => ['perfdata_enabled'],
'type' => 'bool'

View file

@ -126,10 +126,7 @@ class CompatService extends Service
],
'service_passive_checks_enabled_changed' => null,
'service_percent_state_change' => null,
'service_perfdata' => [
'path' => ['state', 'performance_data'],
'type' => 'bool'
],
'service_perfdata' => ['path' => ['state', 'performance_data']],
'service_process_perfdata' => [
'path' => ['perfdata_enabled'],
'type' => 'bool'