Closed robertoschwald closed 4 years ago
As you see in #16, max_age was defined as bool in the factory_settings, which is wrong, as it is Tuple(warn,critical).
Maybe it's a good idea to upload the new version to CheckMK Exchange as soon as you merged #16
If no parameters rule is defined for the bacula services, you get this error in the sensors state entries:
Invalid check parameter: Age of last Backup: The datatype must be a tuple, but is bool Variable: checkgroup_parameters:bacula_jobs Parameters: {'crit_states': ['E', 'f'], 'max_age': False, 'ok_states': ['T', 'R']}
Reson I think is: There is no default_value defined in the wato bacula.py file.
I first thought it was something introduced by me in #14, but I'm convinced it was always like this. Will provide a new PR to fix this.