Module: check_mk
Branch: master
Commit: e1bb2cb34649366567ab0d3193aada1a8560336c
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e1bb2cb3464936…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Feb 17 11:02:24 2017 +0100
4376 FIX WATO Web-API: Is now disabled when WATO is disabled on a site (e.g. slave sites)
Change-Id: I7934c4ea0cca1b7858735c6121d4ab5e14812be1
---
.werks/4376 | 10 ++++++++++
web/htdocs/webapi.py | 3 +++
2 files changed, 13 insertions(+)
diff --git a/.werks/4376 b/.werks/4376
new file mode 100644
index 0000000..9f970a0
--- /dev/null
+++ b/.werks/4376
@@ -0,0 +1,10 @@
+Title: WATO Web-API: Is now disabled when WATO is disabled on a site (e.g. slave sites)
+Level: 1
+Component: wato
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.5.0i1
+Date: 1487325643
+
+
diff --git a/web/htdocs/webapi.py b/web/htdocs/webapi.py
index d109c9e..a8cfd03 100644
--- a/web/htdocs/webapi.py
+++ b/web/htdocs/webapi.py
@@ -71,6 +71,9 @@ def page_api():
if not config.user.get_attribute("automation_secret"):
raise MKAuthException("The WATO API is only available for automation users")
+ if not config.wato_enabled:
+ raise MKUserError(None, _("WATO is disabled on this site."))
+
config.user.need_permission("wato.use")
config.user.need_permission("wato.api_allowed")
Module: check_mk
Branch: master
Commit: 3d9fc68cbe9724385e7d14bb502da374524bd423
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3d9fc68cbe9724…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Feb 17 10:30:42 2017 +0100
Better text for password cleartext warning
Also avoid copy&paste here
Change-Id: I4fe3bf52827c4cf55558eafb41671a473effc409
---
web/htdocs/valuespec.py | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/web/htdocs/valuespec.py b/web/htdocs/valuespec.py
index c9dff2a..df33621 100644
--- a/web/htdocs/valuespec.py
+++ b/web/htdocs/valuespec.py
@@ -3815,9 +3815,13 @@ class Password(TextAscii):
kwargs["autocomplete"] = "new-password"
html.password_input(varprefix, str(value), **kwargs)
+
+
+ def password_plaintext_warning(self):
if self._is_stored_plain:
- html.span(_("<br>Please note that this password needs to be<br>"
- "stored in plain text on the Check_MK server."))
+ html.span(_("<br>Please note that Check_MK needs this password in clear"
+ "<br>text during normal operation and thus stores it unencrypted"
+ "<br>on the Check_MK server."))
def value_to_text(self, value):
@@ -3845,9 +3849,8 @@ class PasswordSpec(Password):
if self._hidden:
html.icon_button("#", _(u"Show/Hide password"), "showhide",
onclick="vs_toggle_hidden(this);")
- if self._is_stored_plain:
- html.span(_("<br>Please note that this password needs to be<br>"
- "stored in plain text on the Check_MK server."))
+
+ self.password_plaintext_warning()
Module: check_mk
Branch: master
Commit: 168ee4c3fd857bb561466b077409e1489beff10f
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=168ee4c3fd857b…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Feb 17 10:08:30 2017 +0100
Updated Werk description
Change-Id: I331d7b865af841f98d2e639d8a6abcdd18084007
---
.werks/3114 | 35 +++++++++++++++++++++--------------
1 file changed, 21 insertions(+), 14 deletions(-)
diff --git a/.werks/3114 b/.werks/3114
index bae3523..410f39d 100644
--- a/.werks/3114
+++ b/.werks/3114
@@ -1,23 +1,30 @@
-Title: linux and windows agent can now be configured to directly encrypt their output. For real-time updates encryption is now optional (but active per default)
+Title: Linux and Windows agent can now encrypt their output
Level: 2
Component: core
+Class: feature
Compatible: compat
-Version: 1.4.0i1
+State: unknown
+Version: 1.5.0i1
Date: 1459867428
-Class: feature
-This feature can be configured through Host&Service Parameters -> Access to agents -> Encryption.
-When "Encryption for Agents" is set to "enforce" or "enable", two things will happen:
-a) Baked windows or linux agents will be configured to encrypt their output
-b) check_mk will be configured to try to decrypt output from agents. In case of "enable" it will
-also accept unencrypted output, in case of "enforce" it won't.
+This feature can be configured through
+{{Host & Service Parameters|Access to agents|Encryption}}.
+When {{Encryption for Agents}} is set to {{enforce}}
+or {{enable}}, two things will happen:
+
+LI:Baked Windows or Linux agents will be configured to encrypt their output
+LI:Check_mk will be configured to try to decrypt output from agents.
+
+In case of {{enable}} it will also accept
+unencrypted output, in case of {{enforce}} it won't.
This change also affects real-time updates as these were already encrypted.
-The passphrase configured for real-time updates will now only serve as a default, agents with
-"Encryption" configured will use the same passphrase for rt and regular updates.
-Finally, it is now also possible to configure real-time updates to be unencrypted.
+The passphrase configured for real-time updates will now only serve as a
+default, agents with "Encryption" configured will use the same passphrase
+for rt and regular updates. Finally, it is now also possible to configure
+real-time updates to be unencrypted.
-All encryption happens with AES using 256bit keys and cbc.
+All encryption happens with AES using 256 bit keys and CBC.
-The above is completely optional, the default behaviour for everything (including real-time updates)
-is compatible with previous versions.
+The new encryption feature is completely optional, the default behaviour for
+everything (including real-time updates) is compatible with previous versions.
Module: check_mk
Branch: master
Commit: 65fb76e8d1ce9b615137dcf980bf6317b49067fa
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=65fb76e8d1ce9b…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Feb 16 17:48:41 2017 +0100
Updated bug entries #2464, #2495
Change-Id: I02413f8f44a2487b707f53b29f531803ecfe49a4
---
.bugs/2464 | 7 +++++--
.bugs/2495 | 7 +++++--
2 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/.bugs/2464 b/.bugs/2464
index 4d89954..db84107 100644
--- a/.bugs/2464
+++ b/.bugs/2464
@@ -1,10 +1,13 @@
Title: Hosts configured for a multisite only site are monitored on master
Component: wato
-State: open
+Class: bug
+State: done
Date: 2016-08-03 11:12:16
Targetversion: 1.2.8
-Class: bug
When having the master site connected with another site only in the status world, without
distributed WATO and assigning a host to that site, the host is still monitored by the
master site. The host should simply not be monitored instead.
+
+2017-02-16 17:48:39: changed state open -> done
+has already been fixed.
diff --git a/.bugs/2495 b/.bugs/2495
index c1d1676..d0e7260 100644
--- a/.bugs/2495
+++ b/.bugs/2495
@@ -1,8 +1,11 @@
Title: --cache not working on -I with explicity hosts
Component: core
-State: open
+Class: bug
+State: done
Date: 2016-05-27 12:13:19
Targetversion: 1.2.8
-Class: bug
This option seems to be without function.
+
+2017-02-16 17:45:42: changed state open -> done
+Works.
Module: check_mk
Branch: master
Commit: 3ea792b61e09c5d22952401a381655379cba024e
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3ea792b61e09c5…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Feb 16 17:42:41 2017 +0100
Updated bug entries #2520
Change-Id: I4944be450410a5f184cebc75bfd175c954c396f4
---
.bugs/2520 | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/.bugs/2520 b/.bugs/2520
index 521ffb5..684c17e 100644
--- a/.bugs/2520
+++ b/.bugs/2520
@@ -1,9 +1,9 @@
Title: WATO mass host tags remove does not work
Component: wato
-State: open
+Class: bug
+State: closed
Date: 2016-09-22 17:03:35
Targetversion: 1.2.8
-Class: bug
If hosts tags are assigned to hosts and you want to remove a specific host tag in mass edit action of hosts,
it will be not removed. The host tag is stiull assigned to the hosts.
@@ -17,3 +17,5 @@ dialog can not be used for removing set attributes. You need to use
the dialog "bulk cleanup" to remove attributes from hosts in bulk.
I improved the description on top of the bulk edit page.
+
+2017-02-16 17:42:38: changed state open -> closed