Free on-demand webinars: Learn how to set up, configure, and get more out of Checkmk – Pick your webinar

Werk #18927: Notifications: handle undefined mail variables

Component Notifications
Title Notifications: handle undefined mail variables
Date Oct 21, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.4.0p15 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT

Mail notifications failed when the following variables were undefined:

  • PREVIOUSHOSTHARDSTATE
  • PREVIOUSSERVICEHARDSTATE

These variables now default to UNKNOWN when undefined.

No action is required from users to benefit from this improvement.

To the list of all Werks