Werk #437: Convert WATO rule for debug_log into simple Checkbox
Komponente | Setup |
Titel | Convert WATO rule for debug_log into simple Checkbox |
Datum | 20.12.2013 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk-Version | 1.2.5i1 |
Level | Kleine Änderung |
Klasse | Neues Feature |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
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