Module: check_mk
Branch: master
Commit: 826242b1bee74134667d0889024681bcfac18ec8
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=826242b1bee741…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Dec 18 09:26:06 2017 +0100
Updated werk text
Change-Id: Id51687755c234ba83fe2c865f4dfd8f8e726d12f
---
.werks/5267 | 27 +++++++++++++++++++++------
1 file changed, 21 insertions(+), 6 deletions(-)
diff --git a/.werks/5267 b/.werks/5267
index 0c1a092..d3f0112 100644
--- a/.werks/5267
+++ b/.werks/5267
@@ -10,13 +10,28 @@ Class: feature
The cmk-update-agent executable is now implemented as a packaged binary executable.
This werk consists of many changes that have partly already been applied to Check_MK 1.5.0i1.
-The new format addresses several problems and yields some improvements:
+The new agent updater addresses several problems and yields some improvements:
-* Better compatibility: All requirements regarding the installed Python Interpreter or other packages/programs were eliminated; the only requirements left are a x86_64 processor architecture and a glibc 2.5 or above.
+* Better compatibility: All requirements regarding the installed Python
+ Interpreter or other packages/programs were eliminated; the only requirements
+ left are a x86_64 processor architecture and a glibc 2.5 or above.
-* More convenient communication to Check_MK Server: All GET-Requests have been replaced with according POST-Requests. This improves security as sensitive data is no longer sent within the URL of the HTTP(S) request.
+* Notably, there will be no more problems with curl and because all
+ communication is now done via python-requests, which is included within the
+ cmk-update-agent executable as mentioned above.
-* Only one copy of cmk-update-agent: The copy of cmk-update-agent previously placed under /usr/bin/cmk-update-agent has been replaced by a shell script that executes the actual cmk-update-agent executable situated at the Check_MK Agent plugin directory. This eliminates the need to maintain two places when manually replacing cmk-update-agent for debugging reasons.
-However, it is still possible to execute a copy of the cmk-update-agent executable directly.
+* The reduction of the requirements will also reduce compatibility problems on some systems
+ related to the encrypted SSL communication with the Check_MK server.
-* Notably, there will be no more problems with curl and because all communication is now done via python-requests, which is included within the cmk-update-agent executable as mentioned above.
+* More convenient communication with Check_MK Server: All HTTP-Requests have been
+ changed to POST-Requests. This improves confidentiality of the information transfered
+ to the Check_MK server. The data is no longer written to the apache log of
+ the Check_MK servers apache (system and site apache).
+
+* cmk-update-agent installed only once: The copy of cmk-update-agent previously
+ placed under <tt>/usr/bin/cmk-update-agent</tt> has been replaced by a shell script
+ that executes the actual cmk-update-agent executable situated at the Check_MK
+ Agent plugin directory. This eliminates the need to maintain two places when
+ manually replacing cmk-update-agent for debugging reasons.
+ However, it is still possible to execute a copy of the cmk-update-agent
+ executable directly.
Module: check_mk
Branch: master
Commit: 72b76053bedac8e2dc0fc0859bf3393edd7991c0
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=72b76053bedac8…
Author: Andreas Umbreit <au(a)mathias-kettner.de>
Date: Fri Dec 15 14:55:44 2017 +0100
5267 cmk-update-agent: New binary format of Agent Updater executable on Linux
The cmk-update-agent executable is now implemented as a packaged binary executable.
This werk consists of many changes that have partly already been applied to Check_MK 1.5.0i1.
The new format addresses several problems and yields some improvements:
* Better compatibility: All requirements regarding the installed Python Interpreter or other packages/programs were eliminated; the only requirements left are a x86_64 processor architecture and a glibc 2.5 or above.
* More convenient communication to Check_MK Server: All GET-Requests have been replaced with according POST-Requests. This improves security as sensitive data is no longer sent within the URL of the HTTP(S) request.
* Only one copy of cmk-update-agent: The copy of cmk-update-agent previously placed under /usr/bin/cmk-update-agent has been replaced by a shell script that executes the actual cmk-update-agent executable situated at the Check_MK Agent plugin directory. This eliminates the need to maintain two places when manually replacing cmk-update-agent for debugging reasons.
However, it is still possible to execute a copy of the cmk-update-agent executable directly.
* Notably, there will be no more problems with curl and because all communication is now done via python-requests, which is included within the cmk-update-agent executable as mentioned above.
Change-Id: Ibd2d5e833c75bc51ea9b23098ee3a5edc253dbe6
---
.werks/5267 | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/.werks/5267 b/.werks/5267
new file mode 100644
index 0000000..0c1a092
--- /dev/null
+++ b/.werks/5267
@@ -0,0 +1,22 @@
+Title: cmk-update-agent: New binary format of Agent Updater executable on Linux
+Level: 2
+Component: agents
+Compatible: compat
+Edition: cee
+Version: 1.5.0i2
+Date: 1513344138
+Class: feature
+
+The cmk-update-agent executable is now implemented as a packaged binary executable.
+This werk consists of many changes that have partly already been applied to Check_MK 1.5.0i1.
+
+The new format addresses several problems and yields some improvements:
+
+* Better compatibility: All requirements regarding the installed Python Interpreter or other packages/programs were eliminated; the only requirements left are a x86_64 processor architecture and a glibc 2.5 or above.
+
+* More convenient communication to Check_MK Server: All GET-Requests have been replaced with according POST-Requests. This improves security as sensitive data is no longer sent within the URL of the HTTP(S) request.
+
+* Only one copy of cmk-update-agent: The copy of cmk-update-agent previously placed under /usr/bin/cmk-update-agent has been replaced by a shell script that executes the actual cmk-update-agent executable situated at the Check_MK Agent plugin directory. This eliminates the need to maintain two places when manually replacing cmk-update-agent for debugging reasons.
+However, it is still possible to execute a copy of the cmk-update-agent executable directly.
+
+* Notably, there will be no more problems with curl and because all communication is now done via python-requests, which is included within the cmk-update-agent executable as mentioned above.
Module: check_mk
Branch: master
Commit: 73f3eec55ff679ac562b1ee83947445475d9ebec
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=73f3eec55ff679…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Dec 15 10:29:32 2017 +0100
Cleaned up warning messages about invalid format when doing localizations
Change-Id: I97817bee48ac2c0c7004482dd22fb95514ff8752
---
web/plugins/sidebar/search.py | 4 ++--
web/plugins/wato/active_checks.py | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/web/plugins/sidebar/search.py b/web/plugins/sidebar/search.py
index 86e9af0..2bd7e5b 100644
--- a/web/plugins/sidebar/search.py
+++ b/web/plugins/sidebar/search.py
@@ -35,8 +35,8 @@ def render_searchform():
sidebar_snapins["search"] = {
"title": _("Quicksearch"),
"description": _("Interactive search field for direct access to hosts, services, host- and "\
- "servicegroups.<br>You can use the following filters:<br> <i>h:</i> {host}, <i>s:</i> {service} <br> "\
- "<i>hg:</i> {hostgroup}, <i>sg:</i> {servicegroup}<br><i>ad:</i> {address}, <i>al:</i> {alias}, tg: {hosttag}"),
+ "servicegroups.<br>You can use the following filters:<br> <i>h:</i> Host, <i>s:</i> Service<br> "\
+ "<i>hg:</i> Hostgroup, <i>sg:</i> Servicegroup<br><i>ad:</i> Address, <i>al:</i> Alias, <i>tg:</i> Hosttag"),
"render": render_searchform,
"restart": False,
"allowed": [ "user", "admin", "guest" ],
diff --git a/web/plugins/wato/active_checks.py b/web/plugins/wato/active_checks.py
index 1e23127..7a6d2e8 100644
--- a/web/plugins/wato/active_checks.py
+++ b/web/plugins/wato/active_checks.py
@@ -666,7 +666,7 @@ register_rule(group,
title = _("Service description"),
allow_empty = False,
help = _("Here you can specify a service description. "
- "If this parameter is not set, the service is named <tt>TCP Port {Portnumber}</tt>"))),
+ "If this parameter is not set, the service is named <tt>TCP Port [PORT NUMBER]</tt>"))),
( "hostname",
TextAscii(
title = _("DNS Hostname"),
Module: check_mk
Branch: master
Commit: 08b0130b2c1da5573ece2cbd74663f6107ac8171
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=08b0130b2c1da5…
Author: Jukka Aro <ja(a)mathias-kettner.de>
Date: Thu Dec 14 16:04:55 2017 +0100
5415 FIX Make Windows section openhardwaremonitor backwards compatible
Version 1.4.0 'corrected' the naming of section openhardwaremonitor.
Unfortunately, this broke the backwards compatibility of old ini files
that still call this 'ohm'. The fix maps the old name to the new one
so that both old and new ini files work. Moreover, the agent bakery
was still writing ini files with the old name. Now the agent bakery
is also fixed.
Change-Id: I5adf3680c46c39c5833b5e39073064b1e2c74f5d
---
.werks/5415 | 17 +++++++++++++++++
agents/windows/SectionManager.cc | 2 +-
agents/windows/build_version | 2 +-
3 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/.werks/5415 b/.werks/5415
new file mode 100644
index 0000000..dbaab02
--- /dev/null
+++ b/.werks/5415
@@ -0,0 +1,17 @@
+Title: Make Windows section openhardwaremonitor backwards compatible
+Level: 1
+Component: checks
+Compatible: compat
+Edition: cre
+Version: 1.5.0i2
+Date: 1513263715
+Class: fix
+
+Version 1.4.0 'corrected' the naming of section openhardwaremonitor.
+Unfortunately, this broke the backwards compatibility of old ini files
+that still call this 'ohm'. The fix maps the old name to the new one
+so that both old and new ini files work. Moreover, the agent bakery
+was still writing ini files with the old name. Now the agent bakery
+is also fixed.
+
+
diff --git a/agents/windows/SectionManager.cc b/agents/windows/SectionManager.cc
index e0aa5e2..a548665 100644
--- a/agents/windows/SectionManager.cc
+++ b/agents/windows/SectionManager.cc
@@ -26,7 +26,7 @@ namespace {
// 'old' names to 'new' ones.
std::string mapSectionName(const std::string §ionName) {
const std::unordered_map<std::string, std::string> mappedSectionNames = {
- {"webservices", "wmi_webservices"}};
+ {"webservices", "wmi_webservices"}, {"ohm", "openhardwaremonitor"}};
const auto it = mappedSectionNames.find(sectionName);
return it == mappedSectionNames.end() ? sectionName : it->second;
}
diff --git a/agents/windows/build_version b/agents/windows/build_version
index 71bfd5b..95a3b3e 100644
--- a/agents/windows/build_version
+++ b/agents/windows/build_version
@@ -1 +1 @@
-3024
+3026
Module: check_mk
Branch: master
Commit: 2954b368d42f6c26e68586ceff642f7d4a86f58a
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2954b368d42f6c…
Author: Andreas Umbreit <au(a)mathias-kettner.de>
Date: Tue Dec 12 08:03:35 2017 +0100
Add werk 5264
Change-Id: I27565f621e4e7f1d7b28b1c2682b6e89b20ca369
---
.werks/5264 | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/.werks/5264 b/.werks/5264
new file mode 100644
index 0000000..a30d1d0
--- /dev/null
+++ b/.werks/5264
@@ -0,0 +1,12 @@
+Title: cmk-update-agent: Improve logging under windows
+Level: 1
+Component: agents
+Compatible: compat
+Edition: cee
+Version: 1.5.0i2
+Date: 1512997046
+Class: fix
+
+With this werk, the Agent Updater ensures that there is a logging infrastructure (i.e. log-dir within agent-installation-dir) is available when running as plugin.
+
+Additionally, an MSI-Installation log will be written on update if there is a log-dir available.