Module: check_mk
Branch: master
Commit: 6de579d5f8b83c471c2b226913ffabcd51c354ff
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6de579d5f8b83c…
Author: Sergey Kipnis <sk(a)mathias-kettner.de>
Date: Thu May 2 14:13:28 2019 +0200
[CMK-2048] - fixed logwatch
- yml is 100% compatible with Legacy Windows Agent
- since now "*" makes any entry "presented in config"
- "*" set identical to LWA, "warn context"
- fixed potential error with missing evenlog data(nullptr in handle). This case is unit
tested.
Change-Id: I4aff8b97db4c2f180d88d3e03d416f1bab14804c
---
agents/wnx/install/resources/check_mk.yml | 20 ++--
agents/wnx/src/engine/eventlog/eventlogvista.cpp | 21 +++-
agents/wnx/src/engine/providers/logwatch_event.cpp | 34 +++---
agents/wnx/src/engine/providers/logwatch_event.h | 29 ++++-
agents/wnx/watest/test-section_logwatchevent.cpp | 123 +++++++++++++++++++--
5 files changed, 182 insertions(+), 45 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=6de579d5f8…