Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 2a14be9bc1bc21138747a430a9cd194d1f720216
https://github.com/tribe29/checkmk/commit/2a14be9bc1bc21138747a430a9cd194d1…
Author: Frans Fürst <frans.fuerst(a)tribe29.com>
Date: 2020-12-28 (Mon, 28 Dec 2020)
Changed paths:
A .werks/11783
M cmk/base/plugins/agent_based/hr_mem.py
Log Message:
-----------
11783 FIX hr_mem crashes on HP and Arris SNMP data
HP returns broken and Arris returns invalid values for .1.3.6.1.2.1.25.2.3.1.2.1
(hrStorageType)
resulting in unhandled KeyErrors.
This fix maps guesses {{"RAM"}} for HP and {{None}} for Arris and thus prevents
the exception.
Change-Id: Iea329a8ebecb653d26960dafd2bde07ed5e27347