From 750b8950b24de843bd894faf4fa50359333b0b86 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Mon, 11 Apr 2016 10:29:08 +0200 Subject: [PATCH] lib: Reorder columns in Hoststatus --- .../Monitoring/DataView/Hoststatus.php | 81 +++++++++---------- 1 file changed, 39 insertions(+), 42 deletions(-) diff --git a/modules/monitoring/library/Monitoring/DataView/Hoststatus.php b/modules/monitoring/library/Monitoring/DataView/Hoststatus.php index 8484dd9cc..e96b2e089 100644 --- a/modules/monitoring/library/Monitoring/DataView/Hoststatus.php +++ b/modules/monitoring/library/Monitoring/DataView/Hoststatus.php @@ -11,58 +11,55 @@ class HostStatus extends DataView public function getColumns() { return array_merge($this->getHookedColumns(), array( - 'instance_name', - 'host_name', - 'host_display_name', - 'host_alias', + 'host_acknowledged', + 'host_acknowledgement_type', + 'host_action_url', + 'host_active_checks_enabled', + 'host_active_checks_enabled_changed', 'host_address', 'host_address6', - 'host_state', - 'host_hard_state', - 'host_state_type', - 'host_handled', - 'host_unhandled', - 'host_in_downtime', - 'host_acknowledged', - 'host_last_state_change', - 'host_last_state_change', - 'host_last_notification', - 'host_last_check', - 'host_next_check', + 'host_alias', + 'host_check_command', 'host_check_execution_time', 'host_check_latency', - 'host_output', - 'host_long_output', - 'host_check_command', - 'host_check_timeperiod', - 'host_perfdata', 'host_check_source', - 'host_passive_checks_enabled', - 'host_passive_checks_enabled_changed', - 'host_obsessing', - 'host_obsessing_changed', - 'host_notifications_enabled', - 'host_notifications_enabled_changed', + 'host_check_timeperiod', + 'host_current_check_attempt', + 'host_current_notification_number', + 'host_display_name', 'host_event_handler_enabled', 'host_event_handler_enabled_changed', 'host_flap_detection_enabled', 'host_flap_detection_enabled_changed', - 'host_active_checks_enabled', - 'host_active_checks_enabled_changed', - 'host_current_check_attempt', - 'host_max_check_attempts', - 'host_last_notification', - 'host_current_notification_number', - 'host_percent_state_change', - 'host_is_flapping', - 'host_action_url', - 'host_notes_url', - 'host_percent_state_change', - 'host_modified_host_attributes', - 'host_severity', - 'host_problem', + 'host_handled', + 'host_hard_state', + 'host_in_downtime', 'host_ipv4', - 'host_acknowledgement_type' + 'host_is_flapping', + 'host_last_check', + 'host_last_notification', + 'host_last_state_change', + 'host_long_output', + 'host_max_check_attempts', + 'host_modified_host_attributes', + 'host_name', + 'host_next_check', + 'host_notes_url', + 'host_notifications_enabled', + 'host_notifications_enabled_changed', + 'host_obsessing', + 'host_obsessing_changed', + 'host_output', + 'host_passive_checks_enabled', + 'host_passive_checks_enabled_changed', + 'host_percent_state_change', + 'host_perfdata', + 'host_problem', + 'host_severity', + 'host_state', + 'host_state_type', + 'host_unhandled', + 'instance_name' )); }