diff --git a/modules/monitoring/application/forms/Command/Instance/TogglePassiveHostChecksCommandForm.php b/modules/monitoring/application/forms/Command/Instance/TogglePassiveHostChecksCommandForm.php new file mode 100644 index 000000000..0c9b657b9 --- /dev/null +++ b/modules/monitoring/application/forms/Command/Instance/TogglePassiveHostChecksCommandForm.php @@ -0,0 +1,33 @@ +setSubmitLabel(mt('monitoring', 'Toggle Passive Host Checks')); + $this->setFeature('passive_host_checks_enabled', mt('monitoring', 'Passive Host Checks Being Accepted')); + } + + /** + * Get the command which is to be sent to an Icinga instance + * + * @return TogglePassiveHostChecks + */ + public function getCommand() + { + return new TogglePassiveHostChecks(); + } +}