Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 61784f6b30282ea4030336c226457e15156129f0
https://github.com/tribe29/checkmk/commit/61784f6b30282ea4030336c226457e151…
Author: Sergey Kipnis <sergey.kipnis(a)tribe29.com>
Date: 2021-03-31 (Wed, 31 Mar 2021)
Changed paths:
M cmk/utils/observer.py
Log Message:
-----------
SUP-5872: introduce midlayer abstract class AbstractMemoryObserver in cmk.utils.observer
- reimplement MemoryObserver as a subclass from AbstractMemoryObserver
- add unit tests
- refactoring: replace OOP Kung-Fu with simple call to superclass member function _register_check
This CL is intended to provide basis for future memory watchdog class in bin/fetcher.
Change-Id: I4731e05b4743d0abbee7d38347869eb9021e18f8
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 4e2b507706533296f4a2709b8f894a42e8641f73
https://github.com/tribe29/checkmk/commit/4e2b507706533296f4a2709b8f894a42e…
Author: Ulrich Bschorer <ulrich.bschorer(a)tribe29.com>
Date: 2021-03-31 (Wed, 31 Mar 2021)
Changed paths:
A .werks/12647
M checks/ups_cps_battery
A tests/unit/checks/generictests/datasets/ups_cps_battery_regression_temperature_none.py
Log Message:
-----------
12647 FIX ups_cps_battery: fix crash "ValueError (invalid literal for int() with base 10:'NULL')"
The check ups_cps_battery crashed with the error "ValueError (invalid literal for int() with base 10:'NULL')"
if the value for the OID "upsAdvanceBatteryTemperature" is equal to 'NULL'.
This is a violation of the SNMP specification.
In future these values will simply be ignored.
Change-Id: Icf2d123d77b679833eb98777c0764775e21d39a5