diff --git a/modules/monitoring/application/forms/Command/Object/ScheduleServiceCheckCommandForm.php b/modules/monitoring/application/forms/Command/Object/ScheduleServiceCheckCommandForm.php index bcac4e281..f65aea84f 100644 --- a/modules/monitoring/application/forms/Command/Object/ScheduleServiceCheckCommandForm.php +++ b/modules/monitoring/application/forms/Command/Object/ScheduleServiceCheckCommandForm.php @@ -92,7 +92,9 @@ class ScheduleServiceCheckCommandForm extends ObjectsCommandForm { foreach ($this->objects as $object) { /** @var \Icinga\Module\Monitoring\Object\Service $object */ - if (! $object->active_checks_enabled) { + if (! $object->active_checks_enabled + && ! $this->Auth()->hasPermission('monitoring/command/schedule-check') + ) { continue; }