monitoring: Support host and service display_name in the EventHistory data view
refs #7843
This commit is contained in:
parent
25c2e99122
commit
3e702ac255
|
@ -1,6 +1,4 @@
|
|||
<?php
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
|
||||
namespace Icinga\Module\Monitoring\DataView;
|
||||
|
||||
|
@ -20,7 +18,9 @@ class EventHistory extends DataView
|
|||
'cnt_downtime_start',
|
||||
'cnt_downtime_end',
|
||||
'host_name',
|
||||
'host_display_name',
|
||||
'service_description',
|
||||
'service_display_name',
|
||||
'object_type',
|
||||
'timestamp',
|
||||
'state',
|
||||
|
@ -38,8 +38,8 @@ class EventHistory extends DataView
|
|||
{
|
||||
return array(
|
||||
'timestamp' => array(
|
||||
'columns' => array('timestamp'),
|
||||
'order' => 'DESC'
|
||||
'columns' => array('timestamp'),
|
||||
'order' => 'DESC'
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue