Werk #22757 · Oct 16, 26
Process discovery: empty service name
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.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0p18All Editions
- 2.4.0p39All Editions