Module: check_mk
Branch: master
Commit: e5c9dbf3f0e8a8b53769c60db0eff2a454e73cbe
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e5c9dbf3f0e8a8…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Tue Jan 21 17:57:31 2014 +0100
fixed comments...
---
modules/check_mk_base.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/check_mk_base.py b/modules/check_mk_base.py
index 72f7160..c4c50a5 100644
--- a/modules/check_mk_base.py
+++ b/modules/check_mk_base.py
@@ -1298,7 +1298,7 @@ def submit_to_core(host, service, state, output):
# Send to Nagios/Icinga command pipe
elif check_submission == "pipe":
-# output = output.replace("\n", "\\n")
+ output = output.replace("\n", "\\n")
open_command_pipe()
if nagios_command_pipe:
nagios_command_pipe.write("[%d]
PROCESS_SERVICE_CHECK_RESULT;%s;%s;%d;%s\n" %
@@ -1309,7 +1309,7 @@ def submit_to_core(host, service, state, output):
# Create check result files for Nagios/Icinga
elif check_submission == "file":
-# output = output.replace("\n", "\\n")
+ output = output.replace("\n", "\\n")
open_checkresult_file()
if checkresult_file_fd:
now = time.time()