Werk #6399: Avoid failed notifications in case of crash dumps
Component | Notifications |
Title | Avoid failed notifications in case of crash dumps |
Date | Aug 7, 2018 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk Version | 1.5.0p1 1.6.0b1 |
Level | Trivial Change |
Class | Bug Fix |
Compatibility | Compatible - no manual interaction needed |
Under certain circumstances crash dumps can lead to failed notifications with the corresponding error message "OSError: [Errno 7] Argument list too long" in the notify.log. The error appears if the environment passed to notification script is too large. To avoid this issue the long, base64 encoded strings in the LONGSERVICEOUTPUT and LONGSERVICEOUTPUT_HTML of crash dumps are now replaced by short error messages.