Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 066e2836130f51caf50106609fc91c32896ef07c
https://github.com/tribe29/checkmk/commit/066e2836130f51caf50106609fc91c328…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2019-08-08 (Thu, 08 Aug 2019)
Changed paths:
A .werks/8901
M checks/netapp_api_fcp
M tests/unit/checks/generictests/datasets/netapp_api_fcp.py
Log Message:
-----------
8901 FIX Fixed calculation of latency for netapp check
Average latency, average read latency, and average write latency
are now calculated as a function of total_ops instead of the
time. This complies with the formula from NetApp's Performance
Management Design Guide.
According to this guide, latency should be calculated as:
latency(now) - latency(before)
lat = ---------------------------------
total_ops(now) - total_ops(before)
and not as a function of time.
This fixes FEED-3874.
Change-Id: I527e8e77cff016559ae85e6bed173655bc34dfb4