Module: check_mk
Branch: master
Commit: 19d95436cbbb73feaff89a25d0d43579441ef78c
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=19d95436cbbb73…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Sep 19 16:40:30 2016 +0200
New sites now have WATO replication for EC enabled per default
---
web/htdocs/wato.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index d91fb91..eb25a2e 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -9599,7 +9599,7 @@ def mode_edit_site(phase):
if config.mkeventd_enabled:
forms.section(_('Event Console'), simple=True)
- html.checkbox('replicate_ec', site.get("replicate_ec", False), label = _("Replicate Event Console configuration to this site"))
+ html.checkbox('replicate_ec', site.get("replicate_ec", True), label = _("Replicate Event Console configuration to this site"))
html.help(_("This option enables the distribution of global settings and rules of the Event Console "
"to the remote site. Any change in the local Event Console settings will mark the site "
"as <i>need sync</i>. A synchronization will automatically reload the Event Console of "
Module: check_mk
Branch: master
Commit: 5180128047c96bd9b884bb3df9113ed3262981e2
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5180128047c96b…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Mon Sep 19 13:39:18 2016 +0200
3806 Sped up "Activate changes"
Introduced caching for many regularly called functions.
As a result, the config generation for the core should be at least 2-3 times faster.
Note: The computation time highly depends on the number of used rules and hosts.
---
.werks/3806 | 11 +++
ChangeLog | 1 +
modules/check_mk.py | 246 +++++++++++++++++++++++++++++++----------------
modules/check_mk_base.py | 32 +++++-
4 files changed, 206 insertions(+), 84 deletions(-)
Diff: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=5180128047…
Module: check_mk
Branch: master
Commit: 701e6bfef568445c4157acfbae4f1d87c1e122a7
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=701e6bfef56844…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Sep 19 08:12:57 2016 +0200
3862 FIX mknotifyd mknotifyd.connection: New service description (when enabled)
The checks were using an uncommon service description for their checks:
Notification Spooler [site] ...
Because those processes are logically tied to the OMD sites, it makes more
sense to make them match the other OMD site check naming scheme:
OMD [site] Notification Spooler
This has now been changed. It will automatically be applied to new sites.
Existing sites will only use this new description after enabling it via
Global Settings and performing a rediscovery of the services on the affected
hosts.
---
.werks/3862 | 21 +++++++++++++++++++++
ChangeLog | 1 +
checks/mknotifyd | 4 ++--
modules/check_mk.py | 2 ++
web/htdocs/wato.py | 2 ++
web/plugins/wato/check_mk_configuration.py | 2 ++
6 files changed, 30 insertions(+), 2 deletions(-)
diff --git a/.werks/3862 b/.werks/3862
new file mode 100644
index 0000000..0b5a5b4
--- /dev/null
+++ b/.werks/3862
@@ -0,0 +1,21 @@
+Title: mknotifyd mknotifyd.connection: New service description (when enabled)
+Level: 1
+Component: checks
+Compatible: compat
+Version: 1.4.0i1
+Date: 1474206536
+Class: fix
+
+The checks were using an uncommon service description for their checks:
+
+Notification Spooler [site] ...
+
+Because those processes are logically tied to the OMD sites, it makes more
+sense to make them match the other OMD site check naming scheme:
+
+OMD [site] Notification Spooler
+
+This has now been changed. It will automatically be applied to new sites.
+Existing sites will only use this new description after enabling it via
+Global Settings and performing a rediscovery of the services on the affected
+hosts.
diff --git a/ChangeLog b/ChangeLog
index 62ecc55..6f58861 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -394,6 +394,7 @@
* 3802 FIX: Fixed excess Check Helper PIPEs when a datasource program runs into a timeout...
* 3701 FIX: FIX ps.perf graph title for Memory and CPU Usage...
* 3746 FIX: tinkerforge: Keep check from crashing in case of unconfigured params
+ * 3862 FIX: mknotifyd mknotifyd.connection: New service description (when enabled)...
Multisite:
* 3187 notification view: new filter for log command via regex
diff --git a/checks/mknotifyd b/checks/mknotifyd
index 3e06950..ec19381 100644
--- a/checks/mknotifyd
+++ b/checks/mknotifyd
@@ -174,7 +174,7 @@ check_info["mknotifyd"] = {
"parse_function" : parse_mknotifyd,
"inventory_function" : inventory_mknotifyd,
"check_function" : check_mknotifyd,
- "service_description" : "Notification Spooler %s",
+ "service_description" : "OMD %s Notification Spooler",
}
@@ -237,6 +237,6 @@ def check_mknotifyd_connection(item, _no_params, parsed):
check_info["mknotifyd.connection"] = {
"inventory_function" : inventory_mknotifyd_connection,
"check_function" : check_mknotifyd_connection,
- "service_description" : "Notification Connection %s",
+ "service_description" : "OMD %s Notify Connection",
}
diff --git a/modules/check_mk.py b/modules/check_mk.py
index ba4657c..c4423ce 100755
--- a/modules/check_mk.py
+++ b/modules/check_mk.py
@@ -287,6 +287,8 @@ old_service_descriptions = {
"ibm_svc_systemstats.iops" : "IBM SVC IOPS %s Total",
"ibm_svc_systemstats.disk_latency" : "IBM SVC Latency %s Total",
"ibm_svc_systemstats.cache" : "IBM SVC Cache Total",
+ "mknotifyd" : "Notification Spooler %s",
+ "mknotifyd.connection" : "Notification Connection %s",
"casa_cpu_temp" : "Temperature %s",
"cmciii.temp" : get_old_cmciii_temp_description,
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index e4cfb42..d91fb91 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -14290,6 +14290,8 @@ def create_sample_config():
"ups_bat_temp",
"innovaphone_temp",
"enterasys_temp",
+ "mknotifyd",
+ "mknotifyd.connection",
],
"inventory_check_interval": 120,
"enable_rulebased_notifications": True,
diff --git a/web/plugins/wato/check_mk_configuration.py b/web/plugins/wato/check_mk_configuration.py
index 9472072..ba1327b 100644
--- a/web/plugins/wato/check_mk_configuration.py
+++ b/web/plugins/wato/check_mk_configuration.py
@@ -1066,6 +1066,8 @@ register_configvar(group,
( "enterasys_temp", _("Enterasys Switch: Temperature")),
( "raritan_emx", _("Raritan EMX Rack: Temperature")),
( "raritan_pdu_inlet", _("Raritan PDU: Input Phases")),
+ ( "mknotifyd", _("Notification Spooler")),
+ ( "mknotifyd.connection", _("Notification Spooler Connection")),
],
render_orientation = "vertical",
),