Module: check_mk
Branch: master
Commit: a788f2a94b80996f9298e0c4b2853cbaf994b2d0
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a788f2a94b8099…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Thu Jan 12 12:33:41 2017 +0100
4011 Quicksearch: Introduced new filters tg, ad and al
With this update the following filters are available.
<ul>
<li>h: matches hostname</li>
<li>s: matches service description</li>
<li>hg: matches hostgroup</li>
<li>sg: matches servicegroup</li>
<li>ad: matches host address</li>
<li>al: matches host alias</li>
<li>tg: matches host tag</li>
</ul>
You can specific multiple filters in a single query.
Filters of different types are ANDed. Filters of the same type are ORed,
with the exception of the tg: filter, whereas all tg: patterns are also ANDed.
Change-Id: I4e58d49c054db36215c0923837239e43ef9de90e
---
.werks/4011 | 23 ++
ChangeLog | 1 +
web/htdocs/sidebar.py | 622 +++++++++++++++++++++---------------------
web/plugins/sidebar/search.py | 511 +++++++++++++++++++++-------------
4 files changed, 649 insertions(+), 508 deletions(-)
Diff: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=a788f2a94b…
Module: check_mk
Branch: master
Commit: 75fb1f7ca0abbdce90ee00c2b7fcd6f71c1fdade
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=75fb1f7ca0abbd…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Fri Jan 13 15:57:33 2017 +0100
4012 FIX Fixed broken windows MSI packages (Installer error 2725)
Windows agents of version 1.4.0 had an incorrect version string
stored in the msi package. An installation caused the msi installer
to fail or to report the error 2725.
Change-Id: I58eaae99a2d2fde8ad347ac139d9b0825d2ddcfa
---
.werks/4012 | 12 ++++++++++++
ChangeLog | 1 +
agents/windows/msibuild/msi-update | 5 ++++-
3 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/.werks/4012 b/.werks/4012
new file mode 100644
index 0000000..35722ce
--- /dev/null
+++ b/.werks/4012
@@ -0,0 +1,12 @@
+Title: Fixed broken windows MSI packages (Installer error 2725)
+Level: 2
+Component: checks
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.4.0i4
+Date: 1484319304
+
+Windows agents of version 1.4.0 had an incorrect version string
+stored in the msi package. An installation caused the msi installer
+to fail or to report the error 2725.
diff --git a/ChangeLog b/ChangeLog
index 25c9bbc..19f9ecf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -55,6 +55,7 @@
* 4010 FIX: netapp_api_qtree_quota: now only includes quotas where disk-limits are set
* 4278 FIX: check_mail_loop: Added missing Date header to sent mails
* 4292 FIX: oracle_asm_diskgroup: fixed handling if disk status is DISMOUNTED
+ * 4012 FIX: Fixed broken windows MSI packages (Installer error 2725)...
Multisite:
* 4169 View action: Default values of sticky, notification and persistent options can now be configured via global settings....
diff --git a/agents/windows/msibuild/msi-update b/agents/windows/msibuild/msi-update
index 943e5ed..cf8656a 100755
--- a/agents/windows/msibuild/msi-update
+++ b/agents/windows/msibuild/msi-update
@@ -71,7 +71,10 @@ try:
# The original version name is also still visible in the list of programs
match = re.search("[a-z]", new_product_version)
if match:
- new_version_build = "%s.%s" % (new_product_version[:match.start(0)], revision)
+ new_version_build = new_product_version[:match.start(0)]
+ if new_version_build[-1] == ".":
+ new_version_build += "0"
+ new_version_build += ".%s" % revision
else:
new_version_build = "%s.%s" % (new_product_version, revision)