Module: check_mk
Branch: master
Commit: 83ac9ca0552b624b953ffd88e3415cca6817c248
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=83ac9ca0552b62…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Mon May 15 14:13:15 2017 +0200
Added new argument @all for --checks option
Change-Id: Ie9f3453d190cc496e0a8b8562ff7adc430e88f33
---
modules/check_mk.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/check_mk.py b/modules/check_mk.py
index 0e2f2df..398c256 100755
--- a/modules/check_mk.py
+++ b/modules/check_mk.py
@@ -4616,6 +4616,9 @@ for o,a in opts:
seen_I += 1
elif o == "--checks":
check_types = a.split(",")
+ if len(check_types) == 1 and check_types[0] == "@all":
+ check_types = check_info.keys()
+
elif o == "--cmc-file":
opt_cmc_relfilename = a
elif o == "--split-rrds":