Module: check_mk
Branch: master
Commit: 871f493ce1a446082c74d4b4e89f4e95e7e555bf
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=871f493ce1a446…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Fri Sep 28 11:42:28 2012 +0200
Fixed manpage of j4p_performance.mem
---
checkman/j4p_performance.mem | 4 ++--
web/plugins/wato/check_mk_configuration.py | 13 +++++++++++++
2 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/checkman/j4p_performance.mem b/checkman/j4p_performance.mem
index dc7af58..22f2ec1 100644
--- a/checkman/j4p_performance.mem
+++ b/checkman/j4p_performance.mem
@@ -30,7 +30,7 @@ item:
examples:
# Set default levels for heap memory to 500 MB / 800 MB
- j4p_mem_default_levels = (500, 800)
+ j4p_performance_mem_default_levels = (500, 800)
perfdata:
Two variables: the heap memory usage and the non heap memory usage
@@ -46,5 +46,5 @@ warning (int): The warning level for used memory in MB
critical (int): The critical level for used memory in MB
[configuration]
-j4p_mem_default_levels (int, int): Default levels for memory usage in MB. This
+j4p_performance_mem_default_levels (int, int): Default levels for memory usage in MB.
This
is preset to {(1000, 2000)}.
diff --git a/web/plugins/wato/check_mk_configuration.py
b/web/plugins/wato/check_mk_configuration.py
index 7a7b1e8..8eed549 100644
--- a/web/plugins/wato/check_mk_configuration.py
+++ b/web/plugins/wato/check_mk_configuration.py
@@ -502,6 +502,19 @@ register_configvar(group,
),
)
+register_configvar(group,
+ "logwatch_service_output",
+ DropdownChoice(
+ title = _("Service output of Logwatch"),
+ help = _("You can change the output of the logwatch service "
+ "between an view with oh"),
+ choices = [
+ ( 'default' , _("Output last log message in service
output") ),
+ ( 'small', _("Only print stats in service output")),
+ ],
+ default_value = 'default',
+ ),
+ )
register_configvar(group,
"printer_supply_some_remaining_status",