Werk #12711: ps_check: crash on non-matching enforced service 'State and count of processes'

Komponente Checks und Agenten
Titel ps_check: crash on non-matching enforced service 'State and count of processes'
Datum 21.04.2021
Checkmk-Editon Checkmk Raw (CRE)
Checkmk-Version 2.0.0p4 2.1.0i1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

Configuring 'State and count of processes' as enforced service with per-process details set to 'text' crashes with unhandled "ValueError: 'notice' must be non-empty str or None, got" if the specified process could not be found. This change avoids this exception by not trying to render a process list without processes found.

Zur Liste aller Werks