Module: check_mk
Branch: master
Commit: 57f14ee1239a8f335b32954b5e1ab008c9d95a9a
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=57f14ee1239a8f…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Mar 14 13:13:51 2017 +0100
4498 FIX cmk-update-agent: Temporary files cmk-update-agent-verify-* were not deleted
When using the Check_MK Agent Updater on some systems it could happen
that small temporary files named cmk-update-agent-verify-* could be
left over after program execution in the system temporary paths like
/tmp on Linux and %TEMP% on Windows.
New versions of the updater are now cleaning up the files created during
the agent signature verification. Files created by older versions of the
updater need to be cleaned up manually.
Change-Id: I3a1037bb24b129acf1a8e8b59f4d3a9ab9b00f32
---
.werks/4498 | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/.werks/4498 b/.werks/4498
new file mode 100644
index 0000000..10cd143
--- /dev/null
+++ b/.werks/4498
@@ -0,0 +1,18 @@
+Title: cmk-update-agent: Temporary files cmk-update-agent-verify-* were not deleted
+Level: 1
+Component: agents
+Class: fix
+Compatible: compat
+Edition: cee
+State: unknown
+Version: 1.5.0i1
+Date: 1489493094
+
+When using the Check_MK Agent Updater on some systems it could happen
+that small temporary files named cmk-update-agent-verify-* could be
+left over after program execution in the system temporary paths like
+/tmp on Linux and %TEMP% on Windows.
+
+New versions of the updater are now cleaning up the files created during
+the agent signature verification. Files created by older versions of the
+updater need to be cleaned up manually.
Module: check_mk
Branch: master
Commit: 184f01ae11b94ba220c9b139beada2119df210dd
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=184f01ae11b94b…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Tue Mar 14 09:50:23 2017 +0100
4430 FIX Fixed logwatch-related Livestatus queries in NEB module
The 'mk_logwatch_files' and 'mk_logwatch_file' columns in the 'hosts' table
didn't work when the Nagios core was used, they were always empty. The net
result was that logwatch-related things in the GUI always looked OK, even
when there were problems. This has been fixed.
Note that the CMC was not affected by this bug.
Change-Id: I9ebc41b848a857dd2513e488e3e323c862b2357f
---
.werks/4430 | 15 +++++++++++++++
livestatus/src/module.cc | 2 +-
2 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/.werks/4430 b/.werks/4430
new file mode 100644
index 0000000..178fd0f
--- /dev/null
+++ b/.werks/4430
@@ -0,0 +1,15 @@
+Title: Fixed logwatch-related Livestatus queries in NEB module
+Level: 1
+Component: livestatus
+Compatible: compat
+Edition: cre
+Version: 1.5.0i1
+Date: 1489480904
+Class: fix
+
+The 'mk_logwatch_files' and 'mk_logwatch_file' columns in the 'hosts' table
+didn't work when the Nagios core was used, they were always empty. The net
+result was that logwatch-related things in the GUI always looked OK, even
+when there were problems. This has been fixed.
+
+Note that the CMC was not affected by this bug.
diff --git a/livestatus/src/module.cc b/livestatus/src/module.cc
index 5ef59a1..87ef796 100644
--- a/livestatus/src/module.cc
+++ b/livestatus/src/module.cc
@@ -964,7 +964,7 @@ void livestatus_parse_arguments(const char *args_orig) {
char *pos = slash == nullptr ? g_mkeventd_socket_path : (slash + 1);
strncpy(
pos, "mkeventd/status",
- &g_mkeventd_socket_path[sizeof(g_mkeventd_socket_path)] - slash);
+ &g_mkeventd_socket_path[sizeof(g_mkeventd_socket_path)] - pos);
g_mkeventd_socket_path[sizeof(g_mkeventd_socket_path) - 1] = 0;
}
Warning(fl_logger_nagios) << "g_socket_path=[" << g_socket_path
Module: check_mk
Branch: master
Commit: 1e24b69c9a3ebfeb93e238fe9162c590ee12e2bf
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1e24b69c9a3ebf…
Author: Konstantin Büttner <kb(a)mathias-kettner.de>
Date: Tue Mar 14 09:20:18 2017 +0100
8624 FIX brocade_fcport: Fix usage of port name during discovery
The rule allowing to use the port name in the service description never took
effect, due to no port name being found. This has been fixed.
Change-Id: I35c0a0bb9465e53e97332cdde8a699e20c90399a
---
.werks/8624 | 12 ++++++++++++
checks/brocade_fcport | 2 +-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/.werks/8624 b/.werks/8624
new file mode 100644
index 0000000..261cb94
--- /dev/null
+++ b/.werks/8624
@@ -0,0 +1,12 @@
+Title: brocade_fcport: Fix usage of port name during discovery
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+Edition: cre
+State: unknown
+Version: 1.5.0i1
+Date: 1489479514
+
+The rule allowing to use the port name in the service description never took
+effect, due to no port name being found. This has been fixed.
diff --git a/checks/brocade_fcport b/checks/brocade_fcport
index d928b39..1a0509e 100644
--- a/checks/brocade_fcport
+++ b/checks/brocade_fcport
@@ -144,7 +144,7 @@ def inventory_brocade_fcport(info):
admstate = int(line[3])
except: # missing vital data. Skipping this port
continue
- portname = line[13]
+ portname = line[14]
is_isl = line[0] in isl_ports
if admstate in admstates and \