Module: check_mk
Branch: master
Commit: c1bbeb3b31eeb0180cb19b46dadc3b6e6a2401e7
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c1bbeb3b31eeb0…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Mar 23 16:41:38 2018 +0100
5939 Alert handlers can now be packed into MKPs
Change-Id: If2906cfcc52ce62f76f3423b78c9d85494c1686b
---
.werks/5939 | 11 +++++++++++
cmk_base/packaging.py | 2 ++
2 files changed, 13 insertions(+)
diff --git a/.werks/5939 b/.werks/5939
new file mode 100644
index 0000000..9e055a8
--- /dev/null
+++ b/.werks/5939
@@ -0,0 +1,11 @@
+Title: Alert handlers can now be packed into MKPs
+Level: 1
+Component: alerts
+Class: feature
+Compatible: compat
+Edition: cee
+State: unknown
+Version: 1.5.0i4
+Date: 1521819675
+
+
diff --git a/cmk_base/packaging.py b/cmk_base/packaging.py
index 671891f..4271a6a 100644
--- a/cmk_base/packaging.py
+++ b/cmk_base/packaging.py
@@ -76,6 +76,8 @@ package_parts = [ (part, title, perm, ldir and ldir or dir) for part,
title, per
( "bin", "Binaries", 0755, None,
cmk.paths.local_bin_dir ),
( "lib", "Libraries", 0644, None,
cmk.paths.local_lib_dir),
( "mibs", "SNMP MIBs", 0644, None,
cmk.paths.local_mib_dir),
+ ( "alert_handlers", "Alert handlers", 0755,
cmk.paths.share_dir + "/alert_handlers",
+ cmk.paths.local_share_dir +
"/alert_handlers" ),
]]
config_parts = [