diff --git a/library/Director/Objects/IcingaHost.php b/library/Director/Objects/IcingaHost.php index 807178f0..e322f4f4 100644 --- a/library/Director/Objects/IcingaHost.php +++ b/library/Director/Objects/IcingaHost.php @@ -34,4 +34,9 @@ class IcingaHost extends IcingaObject 'icon_image_alt' => null, 'object_type' => null, ); + + protected function renderCheck_command_id() + { + return $this->renderCommandProperty($this->check_command_id); + } } diff --git a/library/Director/Objects/IcingaService.php b/library/Director/Objects/IcingaService.php index 11a9e4ee..d89775d7 100644 --- a/library/Director/Objects/IcingaService.php +++ b/library/Director/Objects/IcingaService.php @@ -33,4 +33,10 @@ class IcingaService extends IcingaObject 'icon_image_alt' => null, 'object_type' => null, ); + + + protected function renderCheck_command_id() + { + return $this->renderCommandProperty($this->check_command_id); + } }