Branch: refs/heads/1.6.0
Home:
https://github.com/tribe29/checkmk
Commit: dde0d1b4d352315aefe0ab3cc71eac2f58aced86
https://github.com/tribe29/checkmk/commit/dde0d1b4d352315aefe0ab3cc71eac2f5…
Author: Sergey Kipnis <sergey.kipnis(a)tribe29.com>
Date: 2019-10-23 (Wed, 23 Oct 2019)
Changed paths:
M agents/wnx/install/resources/check_mk.user.yml
M agents/wnx/install/resources/check_mk.yml
A agents/wnx/integration/Pipfile
M agents/wnx/integration/test_section_eventlog.py
M agents/wnx/src/common/cfg_info.h
M agents/wnx/src/common/cfg_yaml.h
A agents/wnx/src/engine/cfg_engine.h
M agents/wnx/src/engine/cma_core.cpp
M agents/wnx/src/engine/cma_core.h
M agents/wnx/src/engine/engine.vcxproj
M agents/wnx/src/engine/engine.vcxproj.filters
M agents/wnx/src/engine/eventlog/eventlogbase.cpp
M agents/wnx/src/engine/eventlog/eventlogbase.h
M agents/wnx/src/engine/eventlog/eventlogstd.cpp
M agents/wnx/src/engine/eventlog/eventlogvista.cpp
M agents/wnx/src/engine/on_start.cpp
M agents/wnx/src/engine/providers/logwatch_event.cpp
M agents/wnx/src/engine/providers/logwatch_event.h
A agents/wnx/watest/test-cfg_engine.cpp
M agents/wnx/watest/test-eventlog.cpp
M agents/wnx/watest/test-section_logwatchevent.cpp
M agents/wnx/watest/watest.vcxproj
M agents/wnx/watest/watest.vcxproj.filters
Log Message:
-----------
[CMK-3055] - limit logwatch max size to 500'000
- triple tested
- unit tests extended on makeBody
- vista eventlog mode a bit improved for empty eventlogs
- improved a bit logging
- introduced four new parameters: max_size, max_line_length, timeout and max_entries
- max_size set to 500'000, visible to end user and may be changed manually
- on hitting max_size, pointer is moved to the end of the file
- State & Parameters marked as Ignore
- integration tests fixed too
Change-Id: Ia165bf9141d47d2297caa7a1f82e351403e767fb