diff --git a/modules/monitoring/application/forms/Command/Instance/ToggleObsessingOverHostChecksCommandForm.php b/modules/monitoring/application/forms/Command/Instance/ToggleObsessingOverHostChecksCommandForm.php new file mode 100644 index 000000000..3e230e639 --- /dev/null +++ b/modules/monitoring/application/forms/Command/Instance/ToggleObsessingOverHostChecksCommandForm.php @@ -0,0 +1,33 @@ +setSubmitLabel(mt('monitoring', 'Toggle Obsessing Over Host Checks')); + $this->setFeature('obsess_over_hosts', mt('monitoring', 'Obsessing Over Hosts')); + } + + /** + * Get the command which is to be sent to an Icinga instance + * + * @return ToggleObsessingOverHostChecks + */ + public function getCommand() + { + return new ToggleObsessingOverHostChecks(); + } +}