Werk #8552: Notification spooling: Fixed "Corrupted spoolfile" in case spool files are created

Component Notifications
Title Notification spooling: Fixed "Corrupted spoolfile" in case spool files are created
Date Sep 20, 2016
Checkmk Edition Checkmk Enterprise (CEE)
Checkmk Version 1.4.0i1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

Fixed a race condition between the producing side (the notification module which creates the spool file) and the consuming side (the mknotifyd which processes the spool files) that made the mknotifyd process incompletely written files.

This could cause "corrupted spoolfile" error messages in the var/log/mknotifyd.log and resulted in spool files being moved to the directory var/check_mk/notify/corrupted. The notifications are not sent out in this situation.

To the list of all Werks