Module: check_mk
Branch: master
Commit: d5205ed8e8775f4862c4def909dea316fd3c97c0
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d5205ed8e8775f…
Author: Andreas Umbreit <au(a)mathias-kettner.de>
Date: Mon May 14 10:25:35 2018 +0200
CMK-517: Add Werk 5277
5277 cmk-update-agent: Add support for proxy servers
The agent updater is now able to connect to the Check_MK server via proxy.
With this werk, a new checkbox "Use proxy server" is added to the Agent Updater rule configuration. You can now either configure a HTTP, SOCKS4 or SOCKS5 proxy (with optional credentials) or choose to follow the environment variables "HTTP_PROXY" and "HTTPS_PROXY" that may be set locally on the hosts.
Please note that the configuration default is still set to ignore local proxy settings.
Change-Id: I795942a25a5435956589eff21de6f4e7bf28e17f
---
.werks/5277 | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/.werks/5277 b/.werks/5277
new file mode 100644
index 0000000..cfb52e4
--- /dev/null
+++ b/.werks/5277
@@ -0,0 +1,14 @@
+Title: cmk-update-agent: Add support for proxy servers
+Level: 2
+Component: agents
+Compatible: compat
+Edition: cee
+Version: 1.6.0i1
+Date: 1526285787
+Class: feature
+
+The agent updater is now able to connect to the Check_MK server via proxy.
+
+With this werk, a new checkbox "Use proxy server" is added to the Agent Updater rule configuration. You can now either configure a HTTP, SOCKS4 or SOCKS5 proxy (with optional credentials) or choose to follow the environment variables "HTTP_PROXY" and "HTTPS_PROXY" that may be set locally on the hosts.
+
+Please note that the configuration default is still set to ignore local proxy settings.
Module: check_mk
Branch: master
Commit: 003757f204eaba5fad1799c98d1c0fcfe9a7044a
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=003757f204eaba…
Author: Tom Baerwinkel <tb(a)mathias-kettner.de>
Date: Wed May 9 15:05:23 2018 +0200
Use hashlib instead of builtin hash function for ModeDiscovery
Change-Id: I727d3142884e3584422c2f247d77cc0b912eaebe
---
web/htdocs/wato.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index c43e520..294cb73 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -3620,7 +3620,7 @@ class ModeDiscovery(WatoMode):
# may contain such chars, we need to use some encoded form of it. Simple escaping/encoding
# like we use for values of variables is not enough here.
def _checkbox_name(self, check_type, item):
- return "_move_%s" % hash("%s_%s" % (check_type, item))
+ return "_move_%s" % sha256("%s_%s" % (check_type, item)).hexdigest()
#.
Module: check_mk
Branch: master
Commit: 121c31b355c999220eb48da796c4fc0de534797a
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=121c31b355c999…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Mon May 14 18:11:26 2018 +0200
6079 FIX BI Aggregation: Fixed crash when opening 'BI Aggregations containing this Service' in service drop down menu if service is not part of any aggregation
Change-Id: I5ed83c234860f82fac3867488e054f2d1757018a
---
.werks/6079 | 10 ++++++++++
web/htdocs/bi.py | 2 +-
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/.werks/6079 b/.werks/6079
new file mode 100644
index 0000000..24ec061
--- /dev/null
+++ b/.werks/6079
@@ -0,0 +1,10 @@
+Title: BI Aggregation: Fixed crash when opening 'BI Aggregations containing this Service' in service drop down menu if service is not part of any aggregation
+Level: 1
+Component: bi
+Compatible: compat
+Edition: cre
+Version: 1.6.0i1
+Date: 1526314124
+Class: fix
+
+
diff --git a/web/htdocs/bi.py b/web/htdocs/bi.py
index 90eedc7..d863beb 100644
--- a/web/htdocs/bi.py
+++ b/web/htdocs/bi.py
@@ -3380,7 +3380,7 @@ def table(columns, add_headers, only_sites, limit, filters):
if only_service:
affected = g_tree_cache["affected_services"].get(only_service)
if affected == None:
- items = []
+ items = {}
else:
by_groups = {}
for group, aggr in affected: