Werk #398: Tolerate debug output in check plugins when using CMC

Component Core & setup
Title Tolerate debug output in check plugins when using CMC
Date Dec 18, 2013
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.2.5i1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

When using the Check_MK Micro Core and at the same time check plugins output debug information to stdout, the communication with the core was garbled up and the check helper died with an exception. This fix eliminates any unauthorized output to stdout be removing the filedescriptor to a save place and replacing stdout with /dev/null.

To the list of all Werks