Werk #19606: FIX Product usage analytics cron job unnecessarily loaded full base configuration
| Component | Site management | ||||
| Title | FIX Product usage analytics cron job unnecessarily loaded full base configuration | ||||
| Date | Jun 2, 2026 | ||||
| Level | Trivial Change | ||||
| Class | Bug Fix | ||||
| Compatibility | Compatible - no manual interaction needed | ||||
| Checkmk versions & editions |
|
The product usage analytics cron job (cmk-product-usage --cron) ran every 30
minutes and unconditionally loaded the full Checkmk base configuration at
startup, even when analytics was not enabled or when it was not yet time to run.
On large installations with a multi-hundred-MB configuration, this added
unnecessary load to every scheduled execution.
The cron job now uses a lightweight check to determine whether analytics is enabled before deciding whether to proceed. The full configuration — needed only to resolve the HTTP proxy for data transmission — is now loaded on demand, exclusively when a transmission actually takes place.