diff --git a/modules/monitoring/application/forms/Command/Instance/ToggleActiveServiceChecksCommandForm.php b/modules/monitoring/application/forms/Command/Instance/ToggleActiveServiceChecksCommandForm.php new file mode 100644 index 000000000..8d412392a --- /dev/null +++ b/modules/monitoring/application/forms/Command/Instance/ToggleActiveServiceChecksCommandForm.php @@ -0,0 +1,33 @@ +setSubmitLabel(mt('monitoring', 'Toggle Active Service Checks')); + $this->setFeature('active_service_checks_enabled', mt('monitoring', 'Active Service Checks Being Executed')); + } + + /** + * Get the command which is to be sent to an Icinga instance + * + * @return ToggleActiveServiceChecks + */ + public function getCommand() + { + return new ToggleActiveServiceChecks(); + } +}