mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
monitoring: Fix duplicate array key 'service_description' in the StatehistoryQuery
This commit is contained in:
parent
d49c950aac
commit
10571c3178
@ -23,13 +23,11 @@ class StatehistoryQuery extends IdoQuery
|
|||||||
'output' => 'sh.output',
|
'output' => 'sh.output',
|
||||||
'attempt' => 'sh.current_check_attempt',
|
'attempt' => 'sh.current_check_attempt',
|
||||||
'max_attempts' => 'sh.max_check_attempts',
|
'max_attempts' => 'sh.max_check_attempts',
|
||||||
|
|
||||||
'host' => 'sho.name1 COLLATE latin1_general_ci',
|
'host' => 'sho.name1 COLLATE latin1_general_ci',
|
||||||
'service' => 'sho.name2 COLLATE latin1_general_ci',
|
|
||||||
'host_name' => 'sho.name1 COLLATE latin1_general_ci',
|
'host_name' => 'sho.name1 COLLATE latin1_general_ci',
|
||||||
|
'service' => 'sho.name2 COLLATE latin1_general_ci',
|
||||||
'service_description' => 'sho.name2 COLLATE latin1_general_ci',
|
'service_description' => 'sho.name2 COLLATE latin1_general_ci',
|
||||||
'service_host_name' => 'sho.name1 COLLATE latin1_general_ci',
|
'service_host_name' => 'sho.name1 COLLATE latin1_general_ci',
|
||||||
'service_description' => 'sho.name2 COLLATE latin1_general_ci',
|
|
||||||
'object_type' => "CASE WHEN sho.objecttype_id = 1 THEN 'host' ELSE 'service' END"
|
'object_type' => "CASE WHEN sho.objecttype_id = 1 THEN 'host' ELSE 'service' END"
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user