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'); $this->view->title = $this->translate('Acknowledge Service Problem'); $this->handleCommandForm(new AcknowledgeProblemCommandForm()); } /** * Add a service comment */ public function addCommentAction() { $this->assertPermission('monitoring/command/comment/add'); $this->view->title = $this->translate('Add Service Comment'); $this->handleCommandForm(new AddCommentCommandForm()); } /** * Reschedule a service check */ public function rescheduleCheckAction() { $this->assertPermission('monitoring/command/schedule-check'); $this->view->title = $this->translate('Reschedule Service Check'); $this->handleCommandForm(new ScheduleServiceCheckCommandForm()); } /** * Schedule a service downtime */ public function scheduleDowntimeAction() { $this->assertPermission('monitoring/command/downtime/schedule'); $this->view->title = $this->translate('Schedule Service Downtime'); $this->handleCommandForm(new ScheduleServiceDowntimeCommandForm()); } /** * Submit a passive service check result */ public function processCheckResultAction() { $this->assertPermission('monitoring/command/process-check-result'); $this->view->title = $this->translate('Submit Passive Service Check Result'); $this->handleCommandForm(new ProcessCheckResultCommandForm()); } }