IcingaHost/Service: fix boolean array
This commit is contained in:
parent
80a757847d
commit
4e7856bc80
|
@ -51,16 +51,16 @@ class IcingaHost extends IcingaObject
|
|||
);
|
||||
|
||||
protected $booleans = array(
|
||||
'enable_notifications',
|
||||
'enable_active_checks',
|
||||
'enable_passive_checks',
|
||||
'enable_event_handler',
|
||||
'enable_flapping',
|
||||
'enable_perfdata',
|
||||
'volatile',
|
||||
'has_agent',
|
||||
'master_should_connect',
|
||||
'accept_config'
|
||||
'enable_notifications' => 'enable_notifications',
|
||||
'enable_active_checks' => 'enable_active_checks',
|
||||
'enable_passive_checks' => 'enable_passive_checks',
|
||||
'enable_event_handler' => 'enable_event_handler',
|
||||
'enable_flapping' => 'enable_flapping',
|
||||
'enable_perfdata' => 'enable_perfdata',
|
||||
'volatile' => 'volatile',
|
||||
'has_agent' => 'has_agent',
|
||||
'master_should_connect' => 'master_should_connect',
|
||||
'accept_config' => 'accept_config'
|
||||
);
|
||||
|
||||
protected $supportsCustomVars = true;
|
||||
|
|
|
@ -46,14 +46,14 @@ class IcingaService extends IcingaObject
|
|||
);
|
||||
|
||||
protected $booleans = array(
|
||||
'enable_notifications',
|
||||
'enable_active_checks',
|
||||
'enable_passive_checks',
|
||||
'enable_event_handler',
|
||||
'enable_flapping',
|
||||
'enable_perfdata',
|
||||
'volatile',
|
||||
'use_agent',
|
||||
'enable_notifications' => 'enable_notifications',
|
||||
'enable_active_checks' => 'enable_active_checks',
|
||||
'enable_passive_checks' => 'enable_passive_checks',
|
||||
'enable_event_handler' => 'enable_event_handler',
|
||||
'enable_flapping' => 'enable_flapping',
|
||||
'enable_perfdata' => 'enable_perfdata',
|
||||
'volatile' => 'volatile',
|
||||
'use_agent' => 'use_agent',
|
||||
);
|
||||
|
||||
protected $supportsGroups = true;
|
||||
|
|
Loading…
Reference in New Issue