Werk #22230: Redis databases: instance names with a hyphen were ignored
| Component | Checks & agents | ||||||
| Title | Redis databases: instance names with a hyphen were ignored | ||||||
| Date | Aug 28, 2026 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
Previously, an instance configured in the Redis databases agent rule with a hyphen in its name produced no services at all. Running the plug-in by hand only reported a "command not found" for the configuration it had just been handed.
Instance names commonly contain hyphens, for example when they are named after the host they run on, so this has been fixed. Bake and deploy the agent again to pick it up. The service item is still the instance name you configured, so nothing gets renamed.
The instance name in Setup is now validated as well: at most 63 letters, digits, underscores and hyphens, and it may not start with a hyphen. A rule using other characters - which could not have worked - has to be corrected the next time you save it.
Baking now fails with an explicit error if one rule contains two instances the agent cannot tell apart, such as "cache-a" and "cache_a".