Module: check_mk
Branch: master
Commit: acf8a0ce451be8f90076d156e51240f5550ab66d
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=acf8a0ce451be8…
Author: Alex Zurhake <az(a)mathias-kettner.de>
Date: Tue Feb 12 08:59:10 2019 +0100
7154 SEC OpenSSL update on our build platform
Centos 6, Suse Enterprise 11 SP2 and SP3 updated OpenSSL. Therefore, we updated our build systems and python packages. In case you experience SSL problems on one of these systems, please update your OS.
Change-Id: I0214aa36794704e80ef99141a86c1c9bc51354eb
---
.werks/7154 | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/.werks/7154 b/.werks/7154
new file mode 100644
index 0000000..bb0f068
--- /dev/null
+++ b/.werks/7154
@@ -0,0 +1,10 @@
+Title: OpenSSL update on our build platform
+Level: 1
+Component: omd
+Compatible: compat
+Edition: cre
+Version: 1.6.0i1
+Date: 1549958118
+Class: security
+
+Centos 6, Suse Enterprise 11 SP2 and SP3 updated OpenSSL. Therefore, we updated our build systems and python packages. In case you experience SSL problems on one of these systems, please update your OS.
Module: check_mk
Branch: master
Commit: 451ef6079e19a302ac221fc593a613b6b05fbe7b
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=451ef6079e19a3…
Author: Alex Zurhake <az(a)mathias-kettner.de>
Date: Wed Feb 13 22:04:11 2019 +0100
downgrade some py-modules, since they don't work with old openssl 0.9.8
Change-Id: I0e76f4bf84ccbcbed22b48b5475572ee2a72fa5c
---
omd/packages/python-modules/python-modules.make | 17 +++++++++++------
omd/packages/python-modules/src/paramiko-2.1.2.tar.gz | Bin 0 -> 1196746 bytes
.../python-modules/src/pyOpenSSL-16.2.0.tar.gz | Bin 0 -> 167305 bytes
omd/packages/python-modules/src/pyghmi-1.2.4.tar.gz | Bin 0 -> 139198 bytes
4 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/omd/packages/python-modules/python-modules.make b/omd/packages/python-modules/python-modules.make
index a7621fa..2f11869 100644
--- a/omd/packages/python-modules/python-modules.make
+++ b/omd/packages/python-modules/python-modules.make
@@ -111,23 +111,30 @@ PYTHON_MODULES_LIST += dnspython-1.15.0.zip # needed for LDAP (nearest DC detect
PYTHON_MODULES_LIST += python-ad-0.9.tar.gz # needed for LDAP (nearest DC detection)
PYTHON_MODULES_LIST += idna-2.7.tar.gz
+# Added for NetApp special agent, but may be used in other components too in future
+PYTHON_MODULES_LIST += requests-2.20.1.tar.gz
+
ifneq ($(filter $(DISTRO_CODE),el5 lucid sles11sp1 sles11sp2 sles11sp3 sles11sp4 squeeze),)
PYTHON_MODULES_LIST += cryptography-1.4.tar.gz
+ # Has requests as dependency -> must be built after
+ PYTHON_MODULES_LIST += pyOpenSSL-16.2.0.tar.gz
+ PYTHON_MODULES_LIST += paramiko-2.1.2.tar.gz
+ PYTHON_MODULES_LIST += pyghmi-1.2.4.tar.gz
PYTHON_MODULES_PATCHES += $(PACKAGE_DIR)/$(PYTHON_MODULES)/patches/0005-NID_ecdsa_with_SHA-fix.patch
PYTHON_MODULES_PATCHES += $(PACKAGE_DIR)/$(PYTHON_MODULES)/patches/0009-cryptography-1.4-disable-version-warning.patch
else
PYTHON_MODULES_LIST += asn1crypto-0.24.0.tar.gz
PYTHON_MODULES_LIST += cryptography-2.4.1.tar.gz
+ # Has requests as dependency -> must be built after
+ PYTHON_MODULES_LIST += pyOpenSSL-18.0.0.tar.gz
+ PYTHON_MODULES_LIST += paramiko-2.4.2.tar.gz
+ PYTHON_MODULES_LIST += pyghmi-1.2.14.tar.gz
PYTHON_MODULES_PATCHES += $(PACKAGE_DIR)/$(PYTHON_MODULES)/patches/0009-cryptography-2.4.1-disable-version-warning.patch
endif
PYTHON_MODULES_LIST += certifi-2018.10.15.tar.gz
PYTHON_MODULES_LIST += chardet-3.0.4.tar.gz
PYTHON_MODULES_LIST += urllib3-1.24.1.tar.gz
-# Added for NetApp special agent, but may be used in other components too in future
-PYTHON_MODULES_LIST += requests-2.20.1.tar.gz
-# Has requests as dependency -> must be built after
-PYTHON_MODULES_LIST += pyOpenSSL-18.0.0.tar.gz
# Added for check_bi_aggr with kerberos support
PYTHON_MODULES_LIST += pykerberos-1.2.1.tar.gz
PYTHON_MODULES_LIST += requests-kerberos-0.12.0.tar.gz
@@ -136,10 +143,8 @@ PYTHON_MODULES_LIST += tinkerforge-2.1.19.tar.gz
# Added for check_sftp
PYTHON_MODULES_LIST += bcrypt-3.1.4.tar.gz
PYTHON_MODULES_LIST += PyNaCl-1.3.0.tar.gz
-PYTHON_MODULES_LIST += paramiko-2.4.2.tar.gz
# Added for IPMI monitoring of management interface
PYTHON_MODULES_LIST += pbr-5.1.0.tar.gz
-PYTHON_MODULES_LIST += pyghmi-1.2.14.tar.gz
PYTHON_MODULES_LIST += typing-3.6.6.tar.gz
PYTHON_MODULES_LIST += scandir-1.9.0.tar.gz
diff --git a/omd/packages/python-modules/src/paramiko-2.1.2.tar.gz b/omd/packages/python-modules/src/paramiko-2.1.2.tar.gz
new file mode 100644
index 0000000..34c3dd6
Binary files /dev/null and b/omd/packages/python-modules/src/paramiko-2.1.2.tar.gz differ
diff --git a/omd/packages/python-modules/src/pyOpenSSL-16.2.0.tar.gz b/omd/packages/python-modules/src/pyOpenSSL-16.2.0.tar.gz
new file mode 100644
index 0000000..568f255
Binary files /dev/null and b/omd/packages/python-modules/src/pyOpenSSL-16.2.0.tar.gz differ
diff --git a/omd/packages/python-modules/src/pyghmi-1.2.4.tar.gz b/omd/packages/python-modules/src/pyghmi-1.2.4.tar.gz
new file mode 100644
index 0000000..73ec860
Binary files /dev/null and b/omd/packages/python-modules/src/pyghmi-1.2.4.tar.gz differ
Module: check_mk
Branch: master
Commit: 6d388ccd9bbeb27c9c18ecdec4244f7e27ecb7af
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6d388ccd9bbeb2…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Feb 12 18:07:22 2019 +0100
Fixed applying custom host attribute changes to folder hierarchy
When a custom host attribute is changed this may directly apply the
hosts.mk files, for example when toggling the option "Add as custom
macro". In previous 1.6 code this change was only applied after
rewriting the hosts.mk files (by editing hosts or folders or some
other action).
Change-Id: I2602223cddcb88d6cefbe5c37d64e119942ce5bc
---
cmk/gui/wato/pages/custom_attributes.py | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/cmk/gui/wato/pages/custom_attributes.py b/cmk/gui/wato/pages/custom_attributes.py
index 0a01d92..dbe0598 100644
--- a/cmk/gui/wato/pages/custom_attributes.py
+++ b/cmk/gui/wato/pages/custom_attributes.py
@@ -30,6 +30,7 @@ import os
import pprint
import re
+import cmk.gui.config as config
import cmk.gui.forms as forms
from cmk.gui.table import table_element
import cmk.gui.userdb as userdb
@@ -39,7 +40,6 @@ from cmk.gui.exceptions import MKUserError
from cmk.gui.globals import html
from cmk.gui.i18n import _
from cmk.gui.watolib.host_attributes import (
- declare_custom_host_attrs,
host_attribute_topic_registry,
transform_pre_16_host_topics,
)
@@ -52,8 +52,8 @@ def update_user_custom_attrs():
userdb.rewrite_users()
-def update_host_custom_attrs():
- declare_custom_host_attrs()
+def _update_host_custom_attrs():
+ config.load_config()
Folder.invalidate_caches()
Folder.root_folder().rewrite_hosts_files()
@@ -367,7 +367,7 @@ class ModeEditCustomHostAttr(ModeEditCustomAttr):
"e.g. in check commands or in notifications.")
def _update_config(self):
- update_host_custom_attrs()
+ _update_host_custom_attrs()
def title(self):
if self._new:
@@ -486,7 +486,7 @@ class ModeCustomHostAttrs(ModeCustomAttrs):
return 'host'
def _update_config(self):
- update_host_custom_attrs()
+ _update_host_custom_attrs()
def title(self):
return _("Custom Host Attributes")