Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: a219a392bab4a2b30baafebd4a30743a381590f0
https://github.com/tribe29/checkmk/commit/a219a392bab4a2b30baafebd4a30743a3…
Author: Florian Kromer <fk(a)mathias-kettner.de>
Date: 2019-05-17 (Fri, 17 May 2019)
Changed paths:
A .werks/7303
M checks/smart
M tests/unit/checks/generictests/datasets/smart.py
Log Message:
-----------
7303 FIX smart: Handle snmp data without normalized values correctly
SNMP data may contain strings "---" for the OIDs which represent the normalized
value and threshold. For the "Reallocated Event Count" missing valid data
resulted in a crash of the check function. This werk fixes this by adding proper
handling of this edge case.
CMK-2094
Change-Id: I9e9e058651e3638b2858c582a36eb1e98dcc30b2