Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 5efec8d9b09c2c22e930284735a0a66dc2365f1b
https://github.com/tribe29/checkmk/commit/5efec8d9b09c2c22e930284735a0a66dc…
Author: Sergey Kipnis <sergey.kipnis(a)tribe29.com>
Date: 2019-07-04 (Thu, 04 Jul 2019)
Changed paths:
M agents/wnx/include/tools/_misc.h
M agents/wnx/prepare_to_tests.cmd
M agents/wnx/src/common/cfg_info.h
M agents/wnx/src/common/wtools.cpp
M agents/wnx/src/common/wtools.h
M agents/wnx/src/engine/cfg.cpp
M agents/wnx/src/engine/cma_core.h
M agents/wnx/src/engine/eventlog/eventlogstd.cpp
M agents/wnx/src/engine/logger.cpp
M agents/wnx/src/engine/logger.h
M agents/wnx/src/engine/providers/internal.h
M agents/wnx/src/engine/providers/ohm.cpp
M agents/wnx/src/engine/providers/ohm.h
M agents/wnx/src/engine/providers/wmi.cpp
M agents/wnx/src/engine/service_processor.cpp
M agents/wnx/src/engine/service_processor.h
M agents/wnx/src/engine/upgrade.cpp
M agents/wnx/src/engine/upgrade.h
M agents/wnx/src/engine/windows_service_api.cpp
M agents/wnx/src/engine/windows_service_api.h
M agents/wnx/src/main/check_mk_service.cpp
M agents/wnx/src/main/check_mk_service.h
M agents/wnx/watest/test-cap.cpp
M agents/wnx/watest/test-external-port.cpp
M agents/wnx/watest/test-ohm.cpp
M agents/wnx/watest/test-runperf.cpp
M agents/wnx/watest/test-section_wmi.cpp
M agents/wnx/watest/test-service.cpp
M agents/wnx/watest/test-upgrade.cpp
Log Message:
-----------
[CMK-2287] - OHM reset on fail
- 3 errors leads to the reset
- mandatory refactoring in many places to get functionality without copy paste
- functionality is concentrated in resetOhm
- 'resetohm; is new hidden command line option to reset ohm without using treasury
- possibility to register errors in providers data(unit tested)
- unit tested error registering, some defaults
- minor: many literals changed to valid constants
- minor: Colors is enum class now according to company style guide
- minor: more wstring_view
- minor: small script fix to avoid build error when OHM is started from the our bin
Change-Id: I969855aa707b99a582491737fbf06479135c269b