diff --git a/modules/monitoring/library/Monitoring/Command/Renderer/IcingaApiCommandRenderer.php b/modules/monitoring/library/Monitoring/Command/Renderer/IcingaApiCommandRenderer.php index 0910beb88..81883618d 100644 --- a/modules/monitoring/library/Monitoring/Command/Renderer/IcingaApiCommandRenderer.php +++ b/modules/monitoring/library/Monitoring/Command/Renderer/IcingaApiCommandRenderer.php @@ -180,7 +180,8 @@ class IcingaApiCommandRenderer implements IcingaCommandRendererInterface 'author' => $command->getAuthor(), 'comment' => $command->getComment(), 'sticky' => $command->getSticky(), - 'notify' => $command->getNotify() + 'notify' => $command->getNotify(), + 'persistent' => $command->getPersistent() ); if ($command->getExpireTime() !== null) { $data['expiry'] = $command->getExpireTime();