Werk #11261: Fix performance regression caused by too many live status queries between EC and core
Komponente | Event Console |
Titel | Fix performance regression caused by too many live status queries between EC and core |
Datum | 12.08.2020 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk-Version | 1.6.0p16 2.0.0i1 |
Level | Bedeutende Änderung |
Klasse | Bugfix |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
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