Werk #19608: Product usage analytics: respect disabled state in scheduled run
| Component | Setup | ||||
| Title | Product usage analytics: respect disabled state in scheduled run | ||||
| Date | Jun 3, 2026 | ||||
| Level | Trivial Change | ||||
| Class | Bug Fix | ||||
| Compatibility | Compatible - no manual interaction needed | ||||
| Checkmk versions & editions |
|
Previously, disabling product usage analytics in Setup (or leaving the
decision still open) did not stop the scheduled background collection.
The cmk-product-usage job, which runs every 30 minutes, loaded the full
base configuration on every run before checking whether the feature was
actually enabled. As a result, even with analytics disabled, the scheduled
job kept performing this unnecessary work on each run.
The scheduled run now checks the enabled state first and exits immediately when product usage analytics is not enabled, without loading any further configuration.
Manual runs (cmk-product-usage --collection, --upload, --dry-run) are
unaffected and continue to work regardless of the configured state.