diff --git a/modules/monitoring/application/forms/Command/Instance/TogglePerformanceDataCommandForm.php b/modules/monitoring/application/forms/Command/Instance/TogglePerformanceDataCommandForm.php new file mode 100644 index 000000000..b151cbb1b --- /dev/null +++ b/modules/monitoring/application/forms/Command/Instance/TogglePerformanceDataCommandForm.php @@ -0,0 +1,33 @@ +setSubmitLabel(mt('monitoring', 'Toggle Performance Data')); + $this->setFeature('process_performance_data', mt('monitoring', 'Performance Data Being Processed')); + } + + /** + * Get the command which is to be sent to an Icinga instance + * + * @return TogglePerformanceData + */ + public function getCommand() + { + return new TogglePerformanceData(); + } +}