Werk #437: Convert WATO rule for debug_log into simple Checkbox
Component | Setup | ||
Title | Convert WATO rule for debug_log into simple Checkbox | ||
Date | Dec 20, 2013 | ||
Level | Trivial Change | ||
Class | New Feature | ||
Compatibility | Compatible - no manual interaction needed | ||
Checkmk versions & editions |
|
Do you know the plugin output invalid output from agent, invalid check parameters or ...? The option for debugging such failed checks has been converted from an absolute path to a simple Checkbox. The target path for the log file is now hardcoded and will be printed by the failed check in the plugin output. The advantage is that when using OMD the option will work on all sites of a distributed environment and will log to var/log/check_mk/crashed-checks.log within the site.
Existing configurations will not be touched, though, and honor the configured path - as long as you do not change the option via WATO. main.mk still allows the old way:
main.mk
# Hard code path to log file
debug_log = "/var/log/foo.log"
# Simply enable and use standard path
debug_log = True
# Disable
debug_log = None
# New way to disable
debug_log = False