Checkmk version:
2.2.0p23cee
OS version of Checkmk server or monitored system:
Appliance 1.6.8
Description of the problem : Problem with Check docsis_channels_upstream
Error message and/or output from below commands:
Invalid check parameter: Undefined key 'corrected' in the dictionary. Allowed are signal_noise, correcteds, uncorrectables.
Variable: checkgroup_parameters:docsis_channels_upstream
Parameters:
{'corrected': (5.0, 8.0),
'signal_noise': (28.0, 23.0),
'uncorrectable': (1.0, 2.0)}
I have not entered any real values, only values for testing.
Invalid check parameter: Undefined key 'corrected' in the dictionary. Allowed are signal_noise, correcteds, uncorrectables.
Variable: checkgroup_parameters:docsis_channels_upstream
Parameters:
{'corrected': (5.0, 8.0),
'correcteds': (85.0, 95.0),
'signal_noise': (28.0, 23.0),
'uncorrectable': (1.0, 2.0),
'uncorrectables': (90.0, 95.0)}
After I changed corrected to correcteds in lines 50,129,141 and uncorrectable to uncorrectables in lines 51,132,145 in the file share\check_mk\checks\docsis_channels_upstream, the individual parameters work. I therefore assume that there is an error.
factory_settings["docsis_channels_upstream_default_levels"] = {
"signal_noise": (10.0, 5.0), # dB
"correcteds": (5.0, 8.0), # Percent
"uncorrectables": (1.0, 2.0), # Percent
}
for what, counter in [
(
"unerrored",
int(unerroreds),
),
(
"correcteds",
int(correcteds),
),
("uncorrectables", int(uncorrectables)),
]:
for what, title in [
(
"correcteds",
"corrected errors",
),
(
"uncorrectables",
"uncorrectable errors",
),
]:
Kind regards,
Oliver