Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 7f014b1c6d8028a9d0ed03bf5968c41b3570c27a
https://github.com/tribe29/checkmk/commit/7f014b1c6d8028a9d0ed03bf5968c41b3…
Author: Lisa Pichler <lisa.pichler(a)tribe29.com>
Date: 2021-03-24 (Wed, 24 Mar 2021)
Changed paths:
A .werks/12627
M checks/entity_sensors
Log Message:
-----------
entity_sensors: useful refactorings for migration
* remove large blocks of comments
* extract "map_xyz" variables in parsed as global variables or helper
functions
* extract sensor name reformatting to helper function
* introduce discovery functions
* refactor get item data in check function
* use check levels function directly instead of check_fan, as it is
almost the same
Change-Id: I5cd7a41ad4a021d1309b56a0d54254b8a59ab3ee