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 | ||||
Level | Trivial Change | ||||
Class | Bug Fix | ||||
Compatibility | Compatible - no manual interaction needed | ||||
Checkmk versions & editions |
|
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.