Module: check_mk
Branch: master
Commit: a85a79b32d87eb802086c889934dcc9176351121
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a85a79b32d87eb…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Tue Sep 4 15:10:57 2012 +0200
winperf_processor: Cleanup
---
checks/winperf_processor | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/checks/winperf_processor b/checks/winperf_processor
index 44761fc..f9604af 100644
--- a/checks/winperf_processor
+++ b/checks/winperf_processor
@@ -49,7 +49,6 @@ def check_winperf_util(item, params, info):
# sums up to total (called _Total). We only need that last value.
ticks = int(line[-2])
num_cpus = len(line) - 3
- counter_wrapped = False
timedif, ticks_per_sec = get_counter("winperf_util", this_time,
ticks)
secs_per_sec = ticks_per_sec / 10000000.0;
used_perc = 100 * (1 - secs_per_sec)