backend, $this->params->get('host'), $this->params->get('service')); $this->applyRestriction('monitoring/services/filter', $service); if ($service->fetch() === false) { throw new Zend_Controller_Action_Exception($this->translate('Service not found')); } $this->object = $service; $this->createTabs(); $this->getTabs()->activate('service'); } /** * Acknowledge a service problem */ public function acknowledgeProblemAction() { $this->assertPermission('monitoring/command/acknowledge-problem'); $form = new AcknowledgeProblemCommandForm(); $form->setTitle($this->translate('Acknowledge Service Problem')); $this->handleCommandForm($form); } /** * Add a service comment */ public function addCommentAction() { $this->assertPermission('monitoring/command/comment/add'); $form = new AddCommentCommandForm(); $form->setTitle($this->translate('Add Service Comment')); $this->handleCommandForm($form); } /** * Reschedule a service check */ public function rescheduleCheckAction() { $this->assertPermission('monitoring/command/schedule-check'); $form = new ScheduleServiceCheckCommandForm(); $form->setTitle($this->translate('Reschedule Service Check')); $this->handleCommandForm($form); } /** * Schedule a service downtime */ public function scheduleDowntimeAction() { $this->assertPermission('monitoring/command/downtime/schedule'); $form = new ScheduleServiceDowntimeCommandForm(); $form->setTitle($this->translate('Schedule Service Downtime')); $this->handleCommandForm($form); } /** * Submit a passive service check result */ public function processCheckResultAction() { $this->assertPermission('monitoring/command/process-check-result'); $form = new ProcessCheckResultCommandForm(); $form->setTitle($this->translate('Submit Passive Service Check Result')); $this->handleCommandForm($form); } }