Werk #19609: Analytics collection schedule not persisted correctly
| Component | Site management | ||||||||
| Title | Analytics collection schedule not persisted correctly | ||||||||
| Date | Jun 10, 2026 | ||||||||
| Level | Trivial Change | ||||||||
| Class | Bug Fix | ||||||||
| Compatibility | Compatible - no manual interaction needed | ||||||||
| Checkmk versions & editions |
|
On some environments, the file storing the next scheduled run timestamp for data analytics collection was written but left empty. This caused the analytics collection schedule to not persist correctly.
The root cause was a file written through a temporary file that was moved
before it was fully closed and flushed. The fix uses the standard
save_text_to_file utility, which ensures the content is correctly
written before the final file is put in place.