mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
monitoring: Sort the services overview by service severity by default
This commit is contained in:
parent
eb6591c176
commit
c77996d5b9
@ -124,6 +124,20 @@ class ServiceStatus extends DataView
|
|||||||
public function getSortRules()
|
public function getSortRules()
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
|
'service_severity' => array(
|
||||||
|
'columns' => array(
|
||||||
|
'service_severity',
|
||||||
|
'service_last_state_change'
|
||||||
|
),
|
||||||
|
'order' => self::SORT_DESC
|
||||||
|
),
|
||||||
|
'host_severity' => array(
|
||||||
|
'columns' => array(
|
||||||
|
'host_severity',
|
||||||
|
'host_last_state_change',
|
||||||
|
),
|
||||||
|
'order' => self::SORT_ASC
|
||||||
|
),
|
||||||
'host_display_name' => array(
|
'host_display_name' => array(
|
||||||
'columns' => array(
|
'columns' => array(
|
||||||
'host_display_name',
|
'host_display_name',
|
||||||
@ -137,20 +151,6 @@ class ServiceStatus extends DataView
|
|||||||
'service_display_name'
|
'service_display_name'
|
||||||
),
|
),
|
||||||
'order' => self::SORT_ASC
|
'order' => self::SORT_ASC
|
||||||
),
|
|
||||||
'host_severity' => array(
|
|
||||||
'columns' => array(
|
|
||||||
'host_severity',
|
|
||||||
'host_last_state_change',
|
|
||||||
),
|
|
||||||
'order' => self::SORT_ASC
|
|
||||||
),
|
|
||||||
'service_severity' => array(
|
|
||||||
'columns' => array(
|
|
||||||
'service_severity',
|
|
||||||
'service_last_state_change',
|
|
||||||
),
|
|
||||||
'order' => self::SORT_DESC
|
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user