mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-01 11:04:24 +02:00
DataViewHost/Servicestatus: use hooked columns
This commit is contained in:
parent
ff2c96e553
commit
0e709d5469
@ -10,7 +10,7 @@ class HostStatus extends DataView
|
||||
*/
|
||||
public function getColumns()
|
||||
{
|
||||
return array(
|
||||
return array_merge($this->getHookedColumns(), array(
|
||||
'instance_name',
|
||||
'host_name',
|
||||
'host_display_name',
|
||||
@ -63,7 +63,7 @@ class HostStatus extends DataView
|
||||
'host_problem',
|
||||
'host_ipv4',
|
||||
'host_acknowledgement_type'
|
||||
);
|
||||
));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -10,7 +10,7 @@ class ServiceStatus extends DataView
|
||||
*/
|
||||
public function getColumns()
|
||||
{
|
||||
return array(
|
||||
return array_merge($this->getHookedColumns(), array(
|
||||
'instance_name',
|
||||
'host_name',
|
||||
'host_display_name',
|
||||
@ -98,7 +98,7 @@ class ServiceStatus extends DataView
|
||||
'service_modified_service_attributes',
|
||||
'service_host_name',
|
||||
'service_acknowledgement_type',
|
||||
);
|
||||
));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user