Werk #398: Tolerate debug output in check plugins when using CMC
Komponente | Core & setup |
Titel | Tolerate debug output in check plugins when using CMC |
Datum | 18.12.2013 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk-Version | 1.2.5i1 |
Level | Kleine Änderung |
Klasse | Bugfix |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
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.