Module: check_mk
Branch: master
Commit: 509456818b370fddad8a5bdb66129960ff268b84
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=509456818b370f…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Thu Sep 19 16:01:41 2013 +0200
windows_agent: windows eventlog informational/audit logs now reported with O prefix
---
ChangeLog | 1 +
agents/windows/check_mk_agent.cc | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 9348809..16fbfb8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -97,6 +97,7 @@
by the check plugin
* agent_vsphere: completely rewritten, now considerably faster
vCenter is still queried by old version
+ * windows_agent: windows eventlog informational/audit logs now reported with O
prefix
Notifications:
diff --git a/agents/windows/check_mk_agent.cc b/agents/windows/check_mk_agent.cc
index e495e2f..e0d9f7a 100755
--- a/agents/windows/check_mk_agent.cc
+++ b/agents/windows/check_mk_agent.cc
@@ -1146,7 +1146,7 @@ void process_eventlog_entries(SOCKET &out, const char *logname,
char *buffer,
break;
case EVENTLOG_INFORMATION_TYPE:
case EVENTLOG_AUDIT_SUCCESS:
- type_char = level == 0 ? 'I' : '.';
+ type_char = level == 0 ? 'O' : '.';
this_state = 0;
break;
case EVENTLOG_AUDIT_FAILURE: