Module: check_mk
Branch: master
Commit: 5907b1aa4ef82ceceb6f6111bd19433a9a524102
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5907b1aa4ef82c…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Feb 22 14:51:46 2018 +0100
5868 FIX Fix duplicate search entries in check plugins search in WATO
Some check plugins are listed in several paths in the catalog of man pages
(e.g. <tt>nfsmount</tt>). These would be listed twice in the search results
of the WATO module {{Check plugins}}. This has been fixed.
---
.werks/5868 | 12 ++++++++++++
web/htdocs/wato.py | 12 +++++++++++-
2 files changed, 23 insertions(+), 1 deletion(-)
diff --git a/.werks/5868 b/.werks/5868
new file mode 100644
index 0000000..b465206
--- /dev/null
+++ b/.werks/5868
@@ -0,0 +1,12 @@
+Title: Fix duplicate search entries in check plugins search in WATO
+Level: 1
+Component: wato
+Compatible: compat
+Edition: cre
+Version: 1.5.0i4
+Date: 1519307412
+Class: fix
+
+Some check plugins are listed in several paths in the catalog of man pages
+(e.g. <tt>nfsmount</tt>). These would be listed twice in the search results
+of the WATO module {{Check plugins}}. This has been fixed.
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 2d81fe9..13a0cd9 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -15741,6 +15741,7 @@ class ModeCheckPlugins(WatoMode):
def _get_manpages_after_search(self):
collection = {}
+ handled_check_names = set([])
# searches in {"name" : "asd", "title" : "das", ...}
def get_matched_entry( entry ):
@@ -15767,7 +15768,16 @@ class ModeCheckPlugins(WatoMode):
if these_matches:
collection.setdefault( key, [] )
- collection[key] += these_matches
+ # avoid duplicates due to the fact that a man page can have more than
+ # one places in the global tree of man pages.
+ for match in these_matches:
+ name = match.get("name")
+ if name and name in handled_check_names:
+ continue # avoid duplicate
+ else:
+ collection[key].append(match)
+ if name:
+ handled_check_names.add(name)
elif type(entries) == dict:
for key, subentries in entries.items():
Module: check_mk
Branch: master
Commit: 6389b815e84653ac03fe2d92cb0f9547cdd81829
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6389b815e84653…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Feb 22 14:22:59 2018 +0100
5857 FIX Improve amount of v axis labels for smaller graphs
In some cases where V axis labels should be shown, the label rendering
mechanic was simply showing no graph label.
Change-Id: If7a8ba70dbaff0d9549734ec31bde3e303c3c3c0
---
.werks/5857 | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/.werks/5857 b/.werks/5857
new file mode 100644
index 0000000..0a2bcf1
--- /dev/null
+++ b/.werks/5857
@@ -0,0 +1,11 @@
+Title: Improve amount of v axis labels for smaller graphs
+Level: 1
+Component: metrics
+Compatible: compat
+Edition: cee
+Version: 1.5.0i4
+Date: 1519305713
+Class: fix
+
+In some cases where V axis labels should be shown, the label rendering
+mechanic was simply showing no graph label.
Module: check_mk
Branch: master
Commit: ed1349406ec2aa8446243d7544946a00d226f48f
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ed1349406ec2aa…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Feb 21 16:34:57 2018 +0100
mkeventd_open514: Improved error message when not able to open the configured network ports
Change-Id: I307248c12c9b362559b193985328a4c78086c7f3
---
bin/mkeventd_open514.cc | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/bin/mkeventd_open514.cc b/bin/mkeventd_open514.cc
index c2b4f1d..65836ed 100644
--- a/bin/mkeventd_open514.cc
+++ b/bin/mkeventd_open514.cc
@@ -97,7 +97,8 @@ int main(int argc, char **argv) {
addr.sin_addr.s_addr = 0;
if (0 != bind(syslog_sock, reinterpret_cast<struct sockaddr *>(&addr),
sizeof(addr))) {
- perror("Cannot bind UDP socket for syslog to port");
+ perror("Cannot bind UDP socket for syslog to port "
+ "(Is SUID bit set on mkeventd_open514? Is \"nosuid\" not set on the filesystem?)");
exit(1);
}
@@ -133,7 +134,8 @@ int main(int argc, char **argv) {
if (0 != bind(syslog_tcp_sock,
reinterpret_cast<struct sockaddr *>(&addr),
sizeof(addr))) {
- perror("Cannot bind TCP socket for syslog-tcp to port");
+ perror("Cannot bind TCP socket for syslog-tcp to port "
+ "(Is SUID bit set on mkeventd_open514? Is \"nosuid\" not set on the filesystem?)");
exit(1);
}
@@ -168,7 +170,8 @@ int main(int argc, char **argv) {
addr.sin_addr.s_addr = 0;
if (0 != bind(snmptrap_sock, reinterpret_cast<struct sockaddr *>(&addr),
sizeof(addr))) {
- perror("Cannot bind UDP socket for snmptrap to port");
+ perror("Cannot bind UDP socket for snmptrap to port "
+ "(Is SUID bit set on mkeventd_open514? Is \"nosuid\" not set on the filesystem?)");
exit(1);
}
Module: check_mk
Branch: master
Commit: d494d2240d6ce6b89b90df774475561e2896f4b4
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d494d2240d6ce6…
Author: Jukka Aro <ja(a)mathias-kettner.de>
Date: Wed Feb 21 13:01:31 2018 +0100
Add simpleini library as a Git archive tarball
The library simpleini provides simple but versatile tool for parsing ini
files. It also supports multiple keys within a section, a feature
necessary for the Check_MK Windows agent.
The tarball contains the state of the project at commit
2af65fcc504f8242752755e836709762ef7ce062. See or clone
https://github.com/brofield/simpleini.git for details of the project and
that particular commit.
---
omd/packages/simpleini/simpleini-2af65fc.tar.gz | Bin 0 -> 55059 bytes
1 file changed, 0 insertions(+), 0 deletions(-)
diff --git a/omd/packages/simpleini/simpleini-2af65fc.tar.gz b/omd/packages/simpleini/simpleini-2af65fc.tar.gz
new file mode 100644
index 0000000..3702e49
Binary files /dev/null and b/omd/packages/simpleini/simpleini-2af65fc.tar.gz differ