Werk #22007: ASCII Email: Fix bulk notification subject and notification count
| Component | Notifications | ||||
| Title | ASCII Email: Fix bulk notification subject and notification count | ||||
| Date | Jul 22, 2026 | ||||
| Level | Trivial Change | ||||
| Class | Bug Fix | ||||
| Compatibility | Compatible - no manual interaction needed | ||||
| Checkmk versions & editions |
|
When sending bulk notifications with the "ASCII Email" method, the bulk subject line did not behave as configured in two situations:
-
If all notifications in a bulk belonged to the same host, the configured bulk subject was ignored and the subject of a single service notification was used instead.
-
The $COUNT_NOTIFICATIONS$ macro in the bulk subject was too low by one, so a bulk containing three notifications was announced as two.
Both problems are now fixed. Bulks always use the configured bulk subject (also when bulking is separated by host), and $COUNT_NOTIFICATIONS$ now reflects the actual number of notifications contained in the mail.
The HTML email method was not affected.