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

Component Checks & agents
Title ps_check: crash on non-matching enforced service 'State and count of processes'
Date Apr 21, 2021
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.0.0p4 2.1.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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.

To the list of all Werks