Refactoring: Changed remaining check parameters starting with an 's' to the new rules...
[check_mk.git] / .werks / 437
blobbea4eab77f1dd8494a1552218f74a2b76620a6be
1 Title: Convert WATO rule for debug_log into simple Checkbox
2 Level: 1
3 Component: wato
4 Version: 1.2.5i1
5 Date: 1387549981
6 Class: feature
8 Do you know the plugin output <i>invalid output from agent, invalid check
9 parameters or ...</i>?  The option for debugging such failed checks has
10 been converted from an absolute path to a simple Checkbox. The target path
11 for the log file is now hardcoded and will be printed by the failed check
12 in the plugin output. The advantage is that when using OMD the option
13 will work on all sites of a distributed environment and will log to
14 <tt>var/log/check_mk/crashed-checks.log</tt> within the site.
16 Existing configurations will not be touched, though, and honor the configured
17 path - as long as you do not change the option via WATO. <tt>main.mk</tt> still
18 allows the old way:
20 F+:main.mk
21 # Hard code path to log file
22 debug_log = "/var/log/foo.log"
24 # Simply enable and use standard path
25 debug_log = True
27 # Disable
28 debug_log = None
30 # New way to disable
31 debug_log = False
32 F-: