diff --git a/library/Director/Objects/IcingaObject.php b/library/Director/Objects/IcingaObject.php index 1bce9170..83994fd2 100644 --- a/library/Director/Objects/IcingaObject.php +++ b/library/Director/Objects/IcingaObject.php @@ -2026,6 +2026,11 @@ abstract class IcingaObject extends DbObject implements IcingaConfigRenderer return c1::renderKeyValue('check_command', join('!', $args)); } + protected function renderLegacyEvent_command($value) + { + return c1::renderKeyValue('event_handler', $value); + } + /** * We do not render zone properties, objects are stored to zone dirs *