diff --git a/modules/monitoring/library/Monitoring/Controller.php b/modules/monitoring/library/Monitoring/Controller.php index cfd3444ef..787ce62ad 100644 --- a/modules/monitoring/library/Monitoring/Controller.php +++ b/modules/monitoring/library/Monitoring/Controller.php @@ -74,7 +74,7 @@ class Controller extends ActionController 'service_attempt', 'service_last_state_change', 'service_icon_image', - 'service_long_output', + // 'service_long_output', 'service_is_flapping', 'service_state_type', 'service_handled', @@ -83,7 +83,7 @@ class Controller extends ActionController 'service_notifications_enabled', 'service_action_url', 'service_notes_url', - 'service_last_comment', + // 'service_last_comment', 'service_active_checks_enabled', 'service_passive_checks_enabled', 'current_check_attempt' => 'service_current_check_attempt', diff --git a/modules/monitoring/library/Monitoring/DataView/HostStatus.php b/modules/monitoring/library/Monitoring/DataView/HostStatus.php index 7955e7455..c0a4e40cf 100644 --- a/modules/monitoring/library/Monitoring/DataView/HostStatus.php +++ b/modules/monitoring/library/Monitoring/DataView/HostStatus.php @@ -125,14 +125,14 @@ class HostStatus extends DataView 'host_severity', 'host_last_state_change', ), - 'order' => self::SORT_ASC + 'order' => self::SORT_DESC ) ); } public function getFilterColumns() { - return array('hostgroup', 'servicegroup', 'service_problems'); + return array('hostgroup', 'service_problems'); } public function isValidFilterTarget($column) diff --git a/modules/monitoring/library/Monitoring/DataView/ServiceStatus.php b/modules/monitoring/library/Monitoring/DataView/ServiceStatus.php index 80e7d2bfb..731f15af2 100644 --- a/modules/monitoring/library/Monitoring/DataView/ServiceStatus.php +++ b/modules/monitoring/library/Monitoring/DataView/ServiceStatus.php @@ -151,6 +151,13 @@ class ServiceStatus extends DataView 'host_last_state_change', ), 'order' => self::SORT_ASC + ), + 'service_severity' => array( + 'columns' => array( + 'service_severity', + 'service_last_state_change', + ), + 'order' => self::SORT_DESC ) ); } diff --git a/modules/monitoring/library/Monitoring/Object/Service.php b/modules/monitoring/library/Monitoring/Object/Service.php index dcd6e117d..9a6c4fb4e 100644 --- a/modules/monitoring/library/Monitoring/Object/Service.php +++ b/modules/monitoring/library/Monitoring/Object/Service.php @@ -15,7 +15,7 @@ class Service extends AbstractObject { $this->fetchComments() ->fetchDowntimes() - ->fetchHostgroups() + //->fetchHostgroups() ->fetchServicegroups() ->fetchContacts() ->fetchContactGroups()