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 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk Version | 1.2.5i1 |
Level | Trivial Change |
Class | Bug Fix |
Compatibility | Compatible - no manual interaction needed |
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.