mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 22:04:25 +02:00
parent
2b77baa19f
commit
d6a630432e
@ -52,10 +52,24 @@ class Servicegroupsummary extends DataView
|
|||||||
return array(
|
return array(
|
||||||
'instance_name',
|
'instance_name',
|
||||||
'services_severity',
|
'services_severity',
|
||||||
'host', 'host_alias', 'host_contact', 'host_contactgroup', 'host_display_name', 'host_name',
|
'host_contact', 'host_contactgroup', 'host_name',
|
||||||
'hostgroup', 'hostgroup_alias', 'hostgroup_name',
|
'hostgroup_name',
|
||||||
'service', 'service_contact', 'service_contactgroup', 'service_description', 'service_display_name',
|
'service_contact', 'service_contactgroup', 'service_description',
|
||||||
'servicegroup'
|
'servicegroup'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getFilterColumns()
|
||||||
|
{
|
||||||
|
if ($this->filterColumns === null) {
|
||||||
|
$filterColumns = parent::getFilterColumns();
|
||||||
|
$diff = array_diff($filterColumns, $this->getColumns());
|
||||||
|
$this->filterColumns = array_merge($diff, [
|
||||||
|
'Servicegroup Name' => 'servicegroup_name',
|
||||||
|
'Servicegroup Alias' => 'servicegroup_alias'
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
return $this->filterColumns;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user