Module: check_mk
Branch: master
Commit: 3f3875ef3b5f45e33a6a75f997a594fc8405192d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3f3875ef3b5f45…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed May 20 13:59:06 2015 +0200
#2293 logwatch: Remove global setting logwatch_service_output from WATO
This setting decides wether (default) or not to output the last critical
found message in a logfile in the output of the check plugin of logwatch
checks. You still can set this variable in <tt>main.mk</tt> if you like.
Existing setting still work.
This make Check_MK more consistent: there are no settings for checks
in the global settings any more now.
---
.werks/2293 | 15 +++++++++++++++
ChangeLog | 1 +
web/plugins/wato/check_mk_configuration.py | 16 ----------------
3 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/.werks/2293 b/.werks/2293
new file mode 100644
index 0000000..8cce36b
--- /dev/null
+++ b/.werks/2293
@@ -0,0 +1,15 @@
+Title: logwatch: Remove global setting logwatch_service_output from WATO
+Level: 1
+Component: checks
+Compatible: compat
+Version: 1.2.7i1
+Date: 1432123043
+Class: feature
+
+This setting decides wether (default) or not to output the last critical
+found message in a logfile in the output of the check plugin of logwatch
+checks. You still can set this variable in <tt>main.mk</tt> if you like.
+Existing setting still work.
+
+This make Check_MK more consistent: there are no settings for checks
+in the global settings any more now.
diff --git a/ChangeLog b/ChangeLog
index b119e3b..b5eb162 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -186,6 +186,7 @@
* 2277 mk_oracle.ps1: changed location of config file...
NOTE: Please refer to the migration notes!
* 2232 printer_supply: move setting for "some remaining" status from global
option to check parameters...
+ * 2293 logwatch: Remove global setting logwatch_service_output from WATO...
* 1457 FIX: logins: new check renamed from "users" check...
NOTE: Please refer to the migration notes!
* 1762 FIX: lnx_thermal: Now ignoring trip points with level 0...
diff --git a/web/plugins/wato/check_mk_configuration.py
b/web/plugins/wato/check_mk_configuration.py
index 2392076..8f57ca5 100644
--- a/web/plugins/wato/check_mk_configuration.py
+++ b/web/plugins/wato/check_mk_configuration.py
@@ -1643,22 +1643,6 @@ register_configvar(deprecated,
"by overridden on a per-host and per-port base by defining
special check "
"parameters via a rule.")))
-register_configvar(group,
- "logwatch_service_output",
- DropdownChoice(
- title = _("Service output for logwatch"),
- help = _("You can change the plugin output of logwatch "
- "to show only the count of messages or also "
- "to show the last worst message"),
- choices = [
- ( 'default' , _("Show count and last message") ),
- ( 'count', _("Show only count")),
- ],
- default_value = 'default',
- ),
- need_restart = True
- )
-
#.
# .--Rulesets------------------------------------------------------------.