diff --git a/modules/monitoring/application/controllers/HostController.php b/modules/monitoring/application/controllers/HostController.php index 147f684df..94f1a60b8 100644 --- a/modules/monitoring/application/controllers/HostController.php +++ b/modules/monitoring/application/controllers/HostController.php @@ -103,7 +103,8 @@ class HostController extends MonitoredObjectController 'service_passive_checks_enabled', 'current_check_attempt' => 'service_current_check_attempt', 'max_check_attempts' => 'service_max_check_attempts', - 'service_check_command' + 'service_check_command', + 'service_next_update' )); $this->applyRestriction('monitoring/filter/objects', $query); $this->view->services = $query->where('host_name', $this->object->getName()); diff --git a/modules/monitoring/application/controllers/ListController.php b/modules/monitoring/application/controllers/ListController.php index c0d8ad03b..b9c71777e 100644 --- a/modules/monitoring/application/controllers/ListController.php +++ b/modules/monitoring/application/controllers/ListController.php @@ -77,7 +77,8 @@ class ListController extends Controller 'host_notifications_enabled', 'host_active_checks_enabled', 'host_passive_checks_enabled', - 'host_check_command' + 'host_check_command', + 'host_next_update' ), $this->addColumns())); $this->applyRestriction('monitoring/filter/objects', $hosts); @@ -158,7 +159,8 @@ class ListController extends Controller 'service_notifications_enabled', 'service_active_checks_enabled', 'service_passive_checks_enabled', - 'service_check_command' + 'service_check_command', + 'service_next_update' ), $this->addColumns())); $this->applyRestriction('monitoring/filter/objects', $services); diff --git a/modules/monitoring/application/views/scripts/list/hosts.phtml b/modules/monitoring/application/views/scripts/list/hosts.phtml index e00038bf6..4f5cd0ea5 100644 --- a/modules/monitoring/application/views/scripts/list/hosts.phtml +++ b/modules/monitoring/application/views/scripts/list/hosts.phtml @@ -1,4 +1,5 @@ compact): ?> @@ -25,10 +26,16 @@ if (! $this->compact): ?>
peekAhead($this->compact) as $host): $hostStateName = Host::getStateText($host->host_state); - $hostLink = $this->href('monitoring/host/show', array('host' => $host->host_name)); ?> -