Module: check_mk
Branch: master
Commit: 61e76b2ef61237b0b910f4dec5985c693e40ccfd
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=61e76b2ef61237…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Tue Aug 1 10:39:45 2017 +0200
5023 FIX Fixed parsing of monitoring history.
A few kind of lines in the monitoring history were not correctly parsed,
including core start/stops. This could lead e.g. to incorrect availibility
calculations later. This has been fixed.
Change-Id: I76e79f1835728932ac67aa6987b4bcd7a89278b2
---
.werks/5023 | 12 ++++++++++++
livestatus/src/LogEntry.cc | 2 +-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/.werks/5023 b/.werks/5023
new file mode 100644
index 0000000..b1ecba1
--- /dev/null
+++ b/.werks/5023
@@ -0,0 +1,12 @@
+Title: Fixed parsing of monitoring history.
+Level: 1
+Component: livestatus
+Compatible: compat
+Edition: cre
+Version: 1.5.0i1
+Date: 1501576667
+Class: fix
+
+A few kind of lines in the monitoring history were not correctly parsed,
+including core start/stops. This could lead e.g. to incorrect availibility
+calculations later. This has been fixed.
diff --git a/livestatus/src/LogEntry.cc b/livestatus/src/LogEntry.cc
index f3a2fb2..d4156ba 100644
--- a/livestatus/src/LogEntry.cc
+++ b/livestatus/src/LogEntry.cc
@@ -307,7 +307,7 @@ bool LogEntry::classifyLogMessage() {
}
}
- return true;
+ return false;
}
// The NotifyHelper class has a long, tragic history: Through a long series of