Catch up on the latest product updates, best practices, and expert insights from the Checkmk Conference #12 – Watch the livestream recordings now

Werk #22757: Process discovery: empty service name

Component Checks & agents
Title Process discovery: empty service name
Date Oct 16, 2026
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
3.0.0b1
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.5.0p17
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.4.0p38
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT

If a rule of the ruleset "Process discovery" produced an empty service name for a matching process, the service discovery of the whole host crashed with TypeError: 'item' must be a non empty string or ommited entirely, got ''. This happens, for example, if the service name consists only of %s or %1 and the corresponding group of the regular expression matches an empty string, or only of %u and the process has no user.

The discovery now continues. A process match that would result in an empty service name is skipped, so no service is created for it. Adjust the service name in the rule if you want such processes to be monitored.

To the list of all Werks