Werk #3139: fixed a couple of minor issues in call to notification scripts

Component Notifications
Title fixed a couple of minor issues in call to notification scripts
Date Jun 2, 2016
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.4.0i1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.2.8p4 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

The fixed issues are as follows: - in case of a timeout of the notification script, the script is supposed to be terminated. This worked only on python 2.6 and newer - due to timing there was a good chance the exit code of the notification script was ignored - the output of the notification script was buffered in memory until the process exited before being written. Theoretically this could cause high memory usage in the notification processes

To the list of all Werks