Module: check_mk
Branch: master
Commit: 44d31e2ce1e058c45dd5052a012d7c42c89dc220
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=44d31e2ce1e058…
Author: Konstantin Büttner <kb(a)mathias-kettner.de>
Date: Wed Dec 6 09:26:41 2017 +0100
Fix last commit m(
Change-Id: Ic81f75e4d30682fdf746587535ec060feebc2865
---
checks/ddn_s2a_statsdelay | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/ddn_s2a_statsdelay b/checks/ddn_s2a_statsdelay
index c0e220e..a3d347e 100644
--- a/checks/ddn_s2a_statsdelay
+++ b/checks/ddn_s2a_statsdelay
@@ -152,7 +152,7 @@ def check_ddn_s2a_statsdelay(item, params, parsed):
write_max = histogram_max(time_intervals, writes_since_last_check)
write_avg = histogram_avg(time_intervals, writes_since_last_check)
else:
- read_min, read_max, read_avg = 0, 0, 0
+ write_min, write_max, write_avg = 0, 0, 0
yield check_levels("Average write wait: %.2f s", write_avg,
params.get("write_avg"), "disk_average_write_wait")
yield check_levels("Min. write wait: %.2f s", write_min,
params.get("write_min"), "disk_min_write_wait")