Module: check_mk
Branch: master
Commit: 8b6052c92b159d59cdb6bb38e0373d0868e9af75
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8b6052c92b159d…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Mon Aug 26 10:33:30 2013 +0200
Fixed winperf parameter handling
---
checks/winperf | 4 ----
1 file changed, 4 deletions(-)
diff --git a/checks/winperf b/checks/winperf
index db11ebe..79d4a4d 100644
--- a/checks/winperf
+++ b/checks/winperf
@@ -46,10 +46,6 @@ def check_win_cpuusage(item, params, info):
else:
warn, crit = params['levels']
- if params == None:
- params = winperf_cpu_default_levels
- warn, crit = params
-
for line in info:
if line[0] == '238:6':
this_time = int(float(line[1]))