Module: check_mk
Branch: master
Commit: 8b2f194fc4302b41aaf7be01b59bf98009cc47f8
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8b2f194fc4302b…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Sep 12 16:25:10 2014 +0200
cmk-plugins-statistics: omit parameters for legacy checks
---
doc/treasures/cmk-plugin-statistics | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/treasures/cmk-plugin-statistics b/doc/treasures/cmk-plugin-statistics
index ee2171b..f993220 100755
--- a/doc/treasures/cmk-plugin-statistics
+++ b/doc/treasures/cmk-plugin-statistics
@@ -15,6 +15,7 @@ echo -e "GET services\nColumns: host_name check_command" \
| unixcat "$LIVE_SOCKET" \
| sort -u \
| cut -d\; -f2 \
+ | cut -d\! -f1 \
| sort \
| uniq -c \
| sort -rn