mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 08:14:03 +02:00
EventHistoryQuery: Provide hostgroup_name' as alternative to
hostgroup'
This can't be queried though until #7274 has been resolved. refs #8613
This commit is contained in:
parent
ec67c28629
commit
9e79419eb1
@ -44,6 +44,7 @@ class EventHistoryQuery extends IdoQuery
|
||||
),
|
||||
'hostgroups' => array(
|
||||
'hostgroup' => 'hgo.name1 COLLATE latin1_general_ci',
|
||||
'hostgroup_name' => 'hgo.name1'
|
||||
),
|
||||
'hosts' => array(
|
||||
'host_display_name' => 'CASE WHEN sh.display_name IS NOT NULL THEN sh.display_name ELSE h.display_name END'
|
||||
|
@ -22,6 +22,7 @@ class EventHistory extends DataView
|
||||
'host_display_name',
|
||||
'service_description',
|
||||
'service_display_name',
|
||||
'hostgroup_name',
|
||||
'object_type',
|
||||
'timestamp',
|
||||
'state',
|
||||
|
Loading…
x
Reference in New Issue
Block a user