Module: check_mk
Branch: master
Commit: f9617844e236210ca0b6fa46aa2e17e4bcb6fe0f
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f9617844e23621…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Tue Aug 1 13:39:22 2017 +0200
Use std::string a bit more often.
This is just an intermediate step to get rid of strdup/free.
Change-Id: I57e7aa38a4aba077edf90e86bb6551833aec38d7
---
livestatus/src/LogEntry.cc | 50 ++++++++++++++++---------------------
livestatus/src/LogEntry.h | 22 ++++++++--------
livestatus/src/TableLog.cc | 14 +++++------
livestatus/src/TableStateHistory.cc | 21 +++++++---------
4 files changed, 49 insertions(+), 58 deletions(-)
Diff: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=f9617844e2…
Module: check_mk
Branch: master
Commit: fc3b0165cf800b3782c00d1458f1e02c0583f69a
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=fc3b0165cf800b…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Tue Aug 1 16:47:46 2017 +0200
Simplify ownership, killing a strdup/free pair.
This basically swaps the roles of LogEntry::_msg and LogEntry::_text. The
former is now just a local variable, and it will die soon.
Change-Id: I559dd3569a37a6251cf5f47ea63db2e30f1b0f64
---
livestatus/src/LogEntry.cc | 100 ++++++++++++++++++++++-----------------------
livestatus/src/LogEntry.h | 9 ++--
livestatus/src/Logfile.cc | 2 +-
livestatus/src/Logfile.h | 3 +-
livestatus/src/TableLog.cc | 2 +-
5 files changed, 56 insertions(+), 60 deletions(-)
Diff: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=fc3b0165cf…
Module: check_mk
Branch: master
Commit: 8c49554022cb623fdf9616347b4851fe31be86b5
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8c49554022cb62…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Tue Aug 1 13:27:27 2017 +0200
4854 FIX WATO Web-API: The liveproxyd configuration was not correctly updated when a site got configured
This caused strange side effects, whereas a site was correctly configured in the
distributed monitoring page, but always considered <i>dead</i> from the liveproxyd's perspective.
Change-Id: Ic70cbf6488cfc002a18fff84b752bf04ca70de54
---
.werks/4854 | 12 ++++
web/htdocs/webapi.py | 11 ++--
web/plugins/webapi/webapi.py | 132 +++++++++++++++++++++----------------------
3 files changed, 84 insertions(+), 71 deletions(-)
Diff: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=8c49554022…
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