Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: d37e2157a2d197af8414b2f5978a3261e68f535d
https://github.com/tribe29/checkmk/commit/d37e2157a2d197af8414b2f5978a3261e…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-02-26 (Wed, 26 Feb 2020)
Changed paths:
M cmk/base/checking.py
Log Message:
-----------
Python 3: Fix check result processing in CRE #3
Nagios expects a seven character long file starting with "c". Since
Python 3 we can not use tempfile.mkstemp anymore since it produces
file names with 9 characters length.
As a workaround this commit copied some logic from tempfile to make
this work again. This is a simplified version.
Change-Id: I26d96e12b6c9504d61ad73b242cfa2f4da44e05f