Module: check_mk
Branch: master
Commit: e6e6ca279abcb1fd3492b6002eb40e4fcb852f23
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e6e6ca279abcb1…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Mar 1 18:30:33 2011 +0100
Improved output colors of cmk -I
---
modules/check_mk.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/check_mk.py b/modules/check_mk.py
index 51ececb..266ce5b 100755
--- a/modules/check_mk.py
+++ b/modules/check_mk.py
@@ -1788,7 +1788,7 @@ def make_inventory(checkname, hostnamelist, check_only=False,
include_state=Fals
if not os.path.exists(autochecksdir):
os.makedirs(autochecksdir)
file(filename, "w").write('# %s\n[\n%s]\n' % (filename,
''.join(newchecks)))
- sys.stdout.write('%-30s ' % (tty_blue + checkname + tty_normal))
+ sys.stdout.write('%-30s ' % (tty_cyan + tty_bold + checkname +
tty_normal))
sys.stdout.write('%s%d new checks%s\n' % (tty_bold + tty_green,
count_new, tty_normal))
return newitems