Werk #58: Fix email notifications containing non-ASCII characters in some situtations

Component Notifications
Title Fix email notifications containing non-ASCII characters in some situtations
Date Dec 16, 2013
Level Prominent Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.2.5i1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.2.5i1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.2.5i1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.2.5i1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.2.5i1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.2.5i1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.2.5i1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.2.5i1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.2.5i1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

On some systems the locale C.UTF-8 was not always available. One of these is Debien Squeeze. Sending a notification email containing non-ASCII characters like german Umlauts failed in these situations.

This now has been fixed by scanning all available encodings (output of locale -a) and selecting an existing UTF-8 encoding. Please make sure that at least one such encoding exists.

This fix also makes sure that the output of a failed mail submission is being logged in the notification log (if you have enabled it).

To the list of all Werks