From d2bb7fc9de07aa19e39102db85ec1b54149eaec8 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Mon, 8 Jun 2015 14:41:40 +0200 Subject: [PATCH] IcingaHost, IcingaService: render check_command name --- library/Director/Objects/IcingaHost.php | 5 +++++ library/Director/Objects/IcingaService.php | 6 ++++++ 2 files changed, 11 insertions(+) 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); + } }