We use cookies to ensure that we give you the best experience on our website.  Visit our Privacy Policy to learn more. If you continue to use this site, we will assume that you are okay with it.

Your choices regarding cookies on this site.
Your preferences have been updated.
In order for the changes to take effect completely please clear your browser cookies and cache. Then reload the page.

Werk #0437: Convert WATO rule for debug_log into simple Checkbox

TitleConvert WATO rule for debug_log into simple Checkbox
Date2013-12-20 15:33:01
Checkmk EditionCheckmk Raw Edition (CRE)
Checkmk Version1.2.5i1
LevelTrivial Change
ClassNew Feature
CompatibilityCompatible - no manual interaction needed

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:

# 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