monitoring: Select host_display_name in the host and service object

refs #7843
This commit is contained in:
Eric Lippmann 2015-01-22 10:34:35 +01:00
parent e61edaaffb
commit 4539462bc7
2 changed files with 2 additions and 0 deletions

View File

@ -91,6 +91,7 @@ class Host extends MonitoredObject
{
$columns = array(
'host_name',
'host_display_name',
'host_alias',
'host_address',
'host_state',

View File

@ -108,6 +108,7 @@ class Service extends MonitoredObject
{
return $this->backend->select()->from('serviceStatus', array(
'host_name',
'host_display_name',
'host_state',
'host_state_type',
'host_last_state_change',