Skip to content

30 Caching

sva-mh edited this page Jun 7, 2024 · 1 revision
  • Currently information gets cached in a site-wide cached and a per-instance-cache.
  • Both caches expire after 60 minutes
  • If the site-wide-cache was refreshed the instance-cache will also refresh.
  • If parameters of a plugin-instance are changed the instance-cached gets refreshed.
  • The cache is located in ~/tmp/check_mk/auto_downtimes
  • The instances-cache-files are prefixed with "_". The site-wide cache is named "auto_downtimes_caches.pkl"

So there may be cases where new/deleted hosts/services won't be seen by the plugin for up to 60 minutes.

You can force cache-refresh by manually deleting the auto_downtimes.cache.pkl on the CLI.

We will look into a better solution for invalidating the cache in the future.

Clone this wiki locally