Module: check_mk
Branch: master
Commit: b35cceb5a5837fc7b09615a0aeeee55ad52e62e1
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b35cceb5a5837f…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Jun 23 14:23:19 2011 +0200
WATO: disabled debug output of check_mk --automation again
---
web/htdocs/wato.py | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index c51ed0b..550bf9d 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -1492,8 +1492,10 @@ def check_mk_automation(command, args=[], indata=""):
(html.apache_user(), sudoline))
try:
- if config.debug:
- html.write("<div class=message>Running
<tt>%s</tt></div>\n" % " ".join(cmd))
+ # This debug output makes problems when doing bulk inventory, because
+ # it garbles the non-HTML response output
+ # if config.debug:
+ # html.write("<div class=message>Running
<tt>%s</tt></div>\n" % " ".join(cmd))
p = subprocess.Popen(cmd,
stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
except Exception, e: