Module: check_mk
Branch: master
Commit: 03cdfb1c6fca84bf156e07cafd1717025c0de948
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=03cdfb1c6fca84…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Jun 12 10:03:52 2012 +0200
Make WATO rule for CPU util work for Windows CPU util
---
checks/winperf_processor | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/checks/winperf_processor b/checks/winperf_processor
index 18cee0b..44761fc 100644
--- a/checks/winperf_processor
+++ b/checks/winperf_processor
@@ -25,7 +25,7 @@
# Boston, MA 02110-1301 USA.
-winperf_cpu_default_levels = ( 101, 101 )
+winperf_cpu_default_levels = ( 101.0, 101.0 )
def inventory_winperf_util(info):
if len(info) <= 1:
@@ -77,3 +77,4 @@ def check_winperf_util(item, params, info):
return (3, "UNKNOWN - counter for CPU (6) not found")
check_info['winperf_processor.util'] = (check_winperf_util, "CPU
utilization", 1, inventory_winperf_util)
+checkgroup_of['winperf_processor.util'] = "cpu_utilization"