Werk #8914: Fix calculation of latency for netapp_api_vs_traffic 2

Component Checks & agents
Title Fix calculation of latency for netapp_api_vs_traffic 2
Date Sep 16, 2019
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 1.5.0p23 1.6.0b11 2.0.0i1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

read_ops and write_ops do not necessarily exist to use as reference for the avg_read_latency and avg_write_latency. The check now crashes when they are not available.

This fix uses the latency and ops values in the isci and fcp namespaces and handles missing references. When the ref is missing, the time is taken as reference.

To the list of all Werks