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
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 1.4.0p15 1.5.0i1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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.

To the list of all Werks