Werk #14542: Interface checks: Stop producing constantly zero and potentially wrong metrics

Component Checks & agents
Title Interface checks: Stop producing constantly zero and potentially wrong metrics
Date Jul 14, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

The interface checks process a lot of different metrics (input and output bandwidth, input and output error rates, input and and output packet rates, etc.). Before this werk, for any metric not reported by a device, the interface checks returned constantly zero values. For example, for EC2 instances in AWS, the only metrics reported by the AWS special agent are input and output bandwidth. Before this werk, the interface check constantly reported zero for all packet rates in this case. This is however useless and potentially wrong in many places. Therefore, as of this werk, the interface checks only return metrics for which the corresponding device actually reports values.

To the list of all Werks