Werk #5362

KomponenteWATO
TitelFixed possible exception on global settings page related to "diskspace cleanup"
Datum2017-10-05 11:13:38
Check_MK EditionCheck_MK Raw Edition (CRE)
Check_MK Version1.4.0p15,1.5.0i1
Level1 - Trivial Change
KlasseBug Fix
KompatibilitätKompatibel- benötigt keine manuelles eingreifen

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.