diff --git a/modules/monitoring/application/controllers/EventController.php b/modules/monitoring/application/controllers/EventController.php index 324cfb808..e17ffb97a 100644 --- a/modules/monitoring/application/controllers/EventController.php +++ b/modules/monitoring/application/controllers/EventController.php @@ -75,7 +75,6 @@ class EventController extends Controller ->add('event', array( 'title' => $label, 'label' => $label, - 'icon' => $icon, 'url' => Url::fromRequest(), 'active' => true )) diff --git a/modules/monitoring/application/controllers/ListController.php b/modules/monitoring/application/controllers/ListController.php index b65a75c3f..f70126c45 100644 --- a/modules/monitoring/application/controllers/ListController.php +++ b/modules/monitoring/application/controllers/ListController.php @@ -281,6 +281,7 @@ class ListController extends Controller $this->setAutorefreshInterval(15); $notifications = $this->backend->select()->from('notification', array( + 'id', 'host_display_name', 'host_name', 'notification_contact_name', diff --git a/modules/monitoring/application/controllers/ShowController.php b/modules/monitoring/application/controllers/ShowController.php index 9c23b9929..2af7d46d8 100644 --- a/modules/monitoring/application/controllers/ShowController.php +++ b/modules/monitoring/application/controllers/ShowController.php @@ -30,6 +30,13 @@ class ShowController extends Controller { $contactName = $this->params->getRequired('contact_name'); + $this->getTabs()->add('contact-detail', [ + 'title' => $this->translate('Contact details'), + 'label' => $this->translate('Contact'), + 'url' => Url::fromRequest(), + 'active' => true + ]); + $query = $this->backend->select()->from('contact', array( 'contact_name', 'contact_id', @@ -63,6 +70,7 @@ class ShowController extends Controller $this->view->commands = $commands; $notifications = $this->backend->select()->from('notification', array( + 'id', 'host_name', 'service_description', 'notification_output', diff --git a/modules/monitoring/application/views/scripts/list/contactgroups.phtml b/modules/monitoring/application/views/scripts/list/contactgroups.phtml index 591b1d385..125aeeae8 100644 --- a/modules/monitoring/application/views/scripts/list/contactgroups.phtml +++ b/modules/monitoring/application/views/scripts/list/contactgroups.phtml @@ -30,7 +30,7 @@ if (! $this->compact): ?>