Werk #18055: update_config: Prevent error in prediction_files_cleanup due to ".info" suffix in hostname
Component | Checks & agents | ||||||
Title | update_config: Prevent error in prediction_files_cleanup due to ".info" suffix in hostname | ||||||
Date | Jun 2, 2025 | ||||||
Level | Trivial Change | ||||||
Class | Bug Fix | ||||||
Compatibility | Compatible - no manual interaction needed | ||||||
Checkmk versions & editions |
|
If predictive levels were configured in a rule and a host had a ".info" suffix, an IsADirectoryError
exception was raised during the update process.
While walking through the file system, the update config action mistook the host directory for a data file of the predictive levels feature and tried to read from it. This is now fixed.