Werk #5362: Fixed possible exception on global settings page related to "diskspace cleanup"
Komponente | Setup |
Titel | Fixed possible exception on global settings page related to "diskspace cleanup" |
Datum | 05.10.2017 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk-Version | 1.4.0p15 1.5.0i1 |
Level | Kleine Änderung |
Klasse | Bugfix |
Kompatibilität | Kompatibel - benötigt kein 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.