Werk #14337: Fix painter "Event Console Events/Hosts: Hostname"

Component Event Console
Title Fix painter "Event Console Events/Hosts: Hostname"
Date Jun 22, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p4 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p27 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

The painter used in e.g. the view "ec_events" points to the view "ec_events_of_host". This view should than show host specific events.

In case of SNMP traps, the results were always empty if the host was known to Checkmk because the livestatus query searched for the host name instead of the IP.

To the list of all Werks