Object/IcingaService: Add boolean render methods to affected properties
This commit is contained in:
parent
7e815e70d7
commit
db58cb8882
|
@ -34,9 +34,43 @@ class IcingaService extends IcingaObject
|
||||||
'object_type' => null,
|
'object_type' => null,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
protected function renderCheck_command_id()
|
protected function renderCheck_command_id()
|
||||||
{
|
{
|
||||||
return $this->renderCommandProperty($this->check_command_id);
|
return $this->renderCommandProperty($this->check_command_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected function renderEnable_notifications()
|
||||||
|
{
|
||||||
|
return $this->renderBooleanProperty('enable_notifications');
|
||||||
|
}
|
||||||
|
|
||||||
|
protected function renderEnable_active_checks()
|
||||||
|
{
|
||||||
|
return $this->renderBooleanProperty('enable_active_checks');
|
||||||
|
}
|
||||||
|
|
||||||
|
protected function renderEnable_passive_checks()
|
||||||
|
{
|
||||||
|
return $this->renderBooleanProperty('enable_passive_checks');
|
||||||
|
}
|
||||||
|
|
||||||
|
protected function renderEnable_event_handler()
|
||||||
|
{
|
||||||
|
return $this->renderBooleanProperty('enable_event_handler');
|
||||||
|
}
|
||||||
|
|
||||||
|
protected function renderEnable_flapping()
|
||||||
|
{
|
||||||
|
return $this->renderBooleanProperty('enable_flapping');
|
||||||
|
}
|
||||||
|
|
||||||
|
protected function renderEnable_perfdata()
|
||||||
|
{
|
||||||
|
return $this->renderBooleanProperty('enable_perfdata');
|
||||||
|
}
|
||||||
|
|
||||||
|
protected function renderVolatile()
|
||||||
|
{
|
||||||
|
return $this->renderBooleanProperty('volatile');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue