Werk #17211: dell_powerconnect_cpu: Fix KeyError

Komponente Checks & agents
Titel dell_powerconnect_cpu: Fix KeyError
Datum 17.10.2024
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p20 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

The check plugin dell_powerconnect_cpu would crash with the following error:

  File "/omd/sites/test/share/check_mk/checks/dell_powerconnect_cpu", line 59, in check_dell_powerconnect_cpu
    ("util1", "%d%%" % saveint(oneminuteperc), params[0], params[1], 0, 100),
  KeyError (0)

The bug was introduced in the 2.3.0. This Werk fixes the issue.

Zur Liste aller Werks