Werk #20252: Gerrit: show cache age for version check
| Component | Checks & agents | ||||
| Title | Gerrit: show cache age for version check | ||||
| Date | Aug 6, 2026 | ||||
| Level | Trivial Change | ||||
| Class | New Feature | ||||
| Compatibility | Compatible - no manual interaction needed | ||||
| Checkmk versions & editions |
|
The Gerrit version check caches its API call to reduce load on the monitored instance (see werk #17594), but there was no way to tell how stale a cached result was.
The special agent now embeds the cache timestamp and TTL into the
gerrit_version section header. Checkmk's core picks this up automatically,
so the service now shows cache age information ("Cache generated X ago",
cache interval, elapsed cache lifespan) in the GUI without any further
configuration.
There is nothing for the user to do; this information is shown automatically once the site is updated.