Skip to content

Commit

Permalink
Rearrange columns in the Host object
Browse files Browse the repository at this point in the history
refs #8614
  • Loading branch information
lippserd committed Mar 11, 2015
1 parent ef4970c commit b501fef
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions modules/monitoring/library/Monitoring/Object/Host.php
Expand Up @@ -89,46 +89,46 @@ public function getName()
protected function getDataView()
{
$columns = array(
'host_name',
'host_display_name',
'host_alias',
'host_address',
'host_state',
'host_state_type',
'host_handled',
'host_in_downtime',
'host_acknowledged',
'host_last_state_change',
'host_last_notification',
'host_last_check',
'host_next_check',
'host_action_url',
'host_active_checks_enabled',
'host_active_checks_enabled_changed',
'host_address',
'host_alias',
'host_check_command',
'host_check_execution_time',
'host_check_latency',
'host_check_source',
'host_output',
'host_long_output',
'host_check_command',
'host_perfdata',
'host_passive_checks_enabled',
'host_passive_checks_enabled_changed',
'host_obsessing',
'host_obsessing_changed',
'host_notifications_enabled',
'host_notifications_enabled_changed',
'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_current_notification_number',
'host_percent_state_change',
'host_handled',
'host_in_downtime',
'host_is_flapping',
'host_action_url',
'host_last_check',
'host_last_notification',
'host_last_state_change',
'host_long_output',
'host_max_check_attempts',
'host_name',
'host_next_check',
'host_notes_url',
'host_process_perfdata' => 'host_process_performance_data'
'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_process_perfdata' => 'host_process_performance_data',
'host_state',
'host_state_type'
);
if ($this->backend->getType() === 'livestatus') {
$columns[] = 'host_contacts';
Expand Down

0 comments on commit b501fef

Please sign in to comment.