Werk #18867: Improve performance of notification spooler
| Component | Notifications | ||
| Title | Improve performance of notification spooler | ||
| Date | Nov 20, 2025 | ||
| Level | Prominent Change | ||
| Class | Bug Fix | ||
| Compatibility | Compatible - no manual interaction needed | ||
| Checkmk versions & editions |
|
In large environments, with a huge configuration (thousands of folders), the processing of notifications could become slow (minutes per notifications), even leading to timeouts during notification processing.
The notification spooler previously loaded the configuration on each invocation of "cmk --notify spoolfile SPOOLFILE" to perform rule matching. In large environments, this configuration loading could become slow after configuration changes, leading to timeouts during notification processing.
With this werk the notification spooler leverages the automation helpers introduced in version 2.4, which maintain the current configuration. Notification processing is triggered through an automation call, eliminating the need to reload the configuration on every notification.
If the automation-helper daemon is unavailable, the system logs the notification as failed and retries execution up to the configured maximum number of attempts.
This improvement enhances notification processing speed and reliability in large environments, significantly reducing timeouts.