Module: check_mk
Branch: master
Commit: ebb4e5c402d482c1b21c439fa418e1b4a997a19b
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ebb4e5c402d482…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Tue Feb 9 14:58:49 2016 +0100
cifs latency is reported in accumulated nanoseconds
---
checks/netapp_api_vs_traffic | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/checks/netapp_api_vs_traffic b/checks/netapp_api_vs_traffic
index 0cccff6..4fd48b2 100644
--- a/checks/netapp_api_vs_traffic
+++ b/checks/netapp_api_vs_traffic
@@ -54,8 +54,8 @@ def check_netapp_api_vs_traffic(item, _no_params, parsed):
("write_data", "fcp_write_data",
"write data", 1, get_bytes_human_readable)]),
"cifs:vserver": ("CIFS",
- [ ("cifs_read_latency", "cifs_read_latency",
"read latency", 0.000001, lambda x: "%.2f ms" % x),
- ("cifs_write_latency", "cifs_write_latency",
"write latency", 0.000001, lambda x: "%.2f ms" % x),
+ [ ("cifs_read_latency", "cifs_read_latency",
"read latency", 0.000000001, lambda x: "%.2f ms" % (x * 1000)),
+ ("cifs_write_latency", "cifs_write_latency",
"write latency", 0.000000001, lambda x: "%.2f ms" % (x * 1000)),
("cifs_read_ops", "cifs_read_ios",
"read OPs", 1, int),
("cifs_write_ops", "cifs_write_ios",
"write OPs", 1, int)]),