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()
|
public function getColumns()
|
||||||
{
|
{
|
||||||
return array(
|
return array_merge($this->getHookedColumns(), array(
|
||||||
'instance_name',
|
'instance_name',
|
||||||
'host_name',
|
'host_name',
|
||||||
'host_display_name',
|
'host_display_name',
|
||||||
|
@ -63,7 +63,7 @@ class HostStatus extends DataView
|
||||||
'host_problem',
|
'host_problem',
|
||||||
'host_ipv4',
|
'host_ipv4',
|
||||||
'host_acknowledgement_type'
|
'host_acknowledgement_type'
|
||||||
);
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -10,7 +10,7 @@ class ServiceStatus extends DataView
|
||||||
*/
|
*/
|
||||||
public function getColumns()
|
public function getColumns()
|
||||||
{
|
{
|
||||||
return array(
|
return array_merge($this->getHookedColumns(), array(
|
||||||
'instance_name',
|
'instance_name',
|
||||||
'host_name',
|
'host_name',
|
||||||
'host_display_name',
|
'host_display_name',
|
||||||
|
@ -98,7 +98,7 @@ class ServiceStatus extends DataView
|
||||||
'service_modified_service_attributes',
|
'service_modified_service_attributes',
|
||||||
'service_host_name',
|
'service_host_name',
|
||||||
'service_acknowledgement_type',
|
'service_acknowledgement_type',
|
||||||
);
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue