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 |
|
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.