Module: check_mk
Branch: master
Commit: ddd0c8d1ee63989f7b227c59d35b5621fadcf747
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ddd0c8d1ee6398…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Oct 14 01:01:30 2013 +0200
Reclassify some inventory output verbose -> debug
---
modules/check_mk.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/check_mk.py b/modules/check_mk.py
index 9602144..9c6d5ff 100755
--- a/modules/check_mk.py
+++ b/modules/check_mk.py
@@ -4660,7 +4660,7 @@ def do_cleanup_autochecks():
for host, lines in hostdata.items():
lines.sort()
fn = host.replace(":","_") + ".mk"
- if opt_verbose:
+ if opt_debug:
sys.stdout.write("Writing %s: %d checks\n" % (fn, len(lines)))
newfiles.add(fn)
f = file(fn, "w+")
@@ -4672,7 +4672,7 @@ def do_cleanup_autochecks():
# 3. Remove obsolete files
for f in glob.glob("*.mk"):
if f not in newfiles:
- if opt_verbose:
+ if opt_debug:
sys.stdout.write("Deleting %s\n" % f)
os.remove(f)