Branch: refs/heads/2.0.0
Home:
https://github.com/tribe29/checkmk
Commit: 2813f07566caf4a10758950665ca6a01a48600eb
https://github.com/tribe29/checkmk/commit/2813f07566caf4a10758950665ca6a01a…
Author: Lisa Pichler <lisa.pichler(a)tribe29.com>
Date: 2021-02-19 (Fri, 19 Feb 2021)
Changed paths:
M checks/agent_siemens_plc
M cmk/special_agents/agent_siemens_plc.py
M tests/unit/checks/test_agent_siemens_plc.py
A tests/unit/cmk/special_agents/test_agent_siemens_plc_.py
Log Message:
-----------
agent_siemens_plc: make the agent testable
*introduce argparse
*split out logical blocks of code as is into smaller functions
*improve flow of main execution
*unit tests for functions
Up next:
*refactoring of individual functions
*optimise looping
*improve error handling
Change-Id: Ie7aaacfb3349fbbce6f980c3530dff6d5c8dc526