Module: check_mk
Branch: master
Commit: a644b2d9f7bd3eb517da7d4444626c17c9207d36
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a644b2d9f7bd3e…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Wed Jul 22 16:18:56 2015 +0200
esx_vsphere_counters: fixed invalid scaling of latency
---
checks/esx_vsphere_counters | 1 +
1 file changed, 1 insertion(+)
diff --git a/checks/esx_vsphere_counters b/checks/esx_vsphere_counters
index 37ef200..60ab17f 100644
--- a/checks/esx_vsphere_counters
+++ b/checks/esx_vsphere_counters
@@ -96,6 +96,7 @@ def check_esx_vsphere_counters_diskio(item, params, info):
elif counter == 'disk.deviceLatency':
values['latency'] = max(values['latency'], int(value))
+ values['latency'] = values['latency'] / 1000.0
return check_diskstat_dict(item, params, {"SUMMARY" : values})
check_info['esx_vsphere_counters.diskio'] = {