Werk #5362: Fixed possible exception on global settings page related to "diskspace cleanup"
Component | Setup | ||||
Title | Fixed possible exception on global settings page related to "diskspace cleanup" | ||||
Date | Oct 5, 2017 | ||||
Level | Trivial Change | ||||
Class | Bug Fix | ||||
Compatibility | Compatible - no manual interaction needed | ||||
Checkmk versions & editions |
|
In 1.2.8 or older it was possible to configure "max_file_age = None" in the etc/diskspace.conf file. This value was not interpreted correctly by the current code which lead to an exception "TypeError: unsupported operand type(s) for divmod(): 'NoneType' and 'int'" on the global settings page.
To workaround this issue, you could remove this option form the etc/diskspace.conf file.