diff --git a/modules/monitoring/application/controllers/CommandController.php b/modules/monitoring/application/controllers/CommandController.php index 4c3a489af..3b92c963b 100644 --- a/modules/monitoring/application/controllers/CommandController.php +++ b/modules/monitoring/application/controllers/CommandController.php @@ -984,6 +984,7 @@ class Monitoring_CommandController extends ActionController if ($form->IsSubmittedAndValid() === true) { $this->target->sendCommand($form->createCommand(), $this->view->objects); + Notification::success('Acknowledgement removal request has been requested'); } } diff --git a/modules/monitoring/application/views/scripts/show/components/acknowledgement.phtml b/modules/monitoring/application/views/scripts/show/components/acknowledgement.phtml new file mode 100644 index 000000000..c1d60a58a --- /dev/null +++ b/modules/monitoring/application/views/scripts/show/components/acknowledgement.phtml @@ -0,0 +1,40 @@ +state, array(0, 99))) { + return; +} + +$cf = $this->getHelper('CommandForm'); + +$data = array('host' => $object->host_name); +if ($object->service_description) { + $data['service'] = $object->service_description; +} + +?> +