Explore the latest product updates and best practices at our hybrid Checkmk Conference #12 from June 16-18, 2026 – Register here

Werk #7057: Allow "coding" comment in notification scripts

Component Notifications
Title Allow "coding" comment in notification scripts
Date Feb 1, 2019
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.6.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT
1.5.0p12 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT

Notification scripts can contain the name of the notification script as a comment after the shebang and the optional encoding comment. When the encoding comment contained only the word "coding" but not "encoding" the encoding comment was accidentally used as the title of the notification script. Now the regular expression from https://docs.python.org/2.7/reference/lexical_analysis.html is used to recognize encoding comments. Therefore, "coding" and "encoding" can now be used.

To the list of all Werks