Werk #17756 · Oct 23, 25
Improved SQLite housekeeping for event console history
Starting with Checkmk 2.4, the event console history is persisted in a SQLite database. Several improvements regarding the housekeeping of this DB have been made to handle huge histories better:
- The temporary directory for SQLite is now the
tmp/directory within the site, not some global directory like/var/tmp/. Running out of space will now typically only affect the site, not the whole system. If you want to change this for some reason, you can tweakSQLITE_TMPDIRin the site user's.profile. - The SQLite DB will not reorganize itself (
VACUUM) anymore if there is not sufficient space left on the filesystem of the temporary directory. - The maximum history fragmentation limit has been raised from 100 MiB to 100 GiB, so one can effectively disable VACUUM via a huge setting.
- To aid debugging, the SQLite temporary directory is logged per default on
startup and each start/end of a
VACUUMrun. If you want more info why aVACUUMran or did not run and see some more timing-related data, you can set the "Event database" log level of the event console toverboseor evendebug.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Event Console
- Versions:
- 2.5.0b1All Editions
- 2.4.0p15All Editions