Werk #11261: Fix performance regression caused by too many live status queries between EC and core
|Title||Fix performance regression caused by too many live status queries between EC and core|
|Date||Aug 12, 2020|
|Checkmk Editon||Checkmk Raw (CRE)|
|Checkmk Version||2.0.0i1 1.6.0p16|
|Compatibility||Compatible - no manual interaction needed|
The version 1.6.0p14 introduced an issue affecting the Event Console and it's Livestatus communication with the local monitoring core.
Instead of querying static configuration related information, which is needed by the Event Console only once per core restart, these information were not cached as intended. This resulted in these queries being made over and over again.
The query was executed in the following situations:
- Multiple times when querying the "eventconsolestatus" table (Once for each host known by the Event Console)
- Once for each created event