Werk #5538

KomponenteCore & Setup
TitelImproved performance when processing a large amount of piggyback data
Datum2017-11-22 15:12:17
Check_MK EditionCheck_MK Raw Edition (CRE)
Check_MK Version1.5.0i2
Level1 - Trivial Change
KlasseNew Feature
KompatibilitätKompatibel- benötigt keine manuelles eingreifen

When Check_MK needs to handle a large amount of piggyback data (a lot of piggbacked hosts from a lot of piggyback source hosts, several hundreds to thousands), the performance of Check_MK could decrease during regular monitoring. This was caused by some too expensive house keeping logic that was executed too often.

The mechanism has now been changed to work like this:

  • During regular monitoring now piggyback data is removed anymore from the disk.
  • New piggyback data is written to disk when communicating with the source host.
  • When monitoring piggybacked hosts, the outdated piggyback data available on the disk is filtered.
  • There is a dedicated housekeeping cron job executed sites crontab daily at 00:10 which removes outdated piggyback data. This job is mostly used to free up some tmpfs space, the outated stored data is not read by monitoring anymore.