Werk #1103: windows agent: now able to omit context text of logfiles
Component | Checks & agents |
Title | windows agent: now able to omit context text of logfiles |
Date | Aug 28, 2014 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk Version | 1.2.5i6 |
Level | Trivial Change |
Class | New Feature |
Compatibility | Compatible - no manual interaction needed |
You can now configure whether the context of the logfiles should be sent too, if a ok/warn/crit logline was detected within the logfile.
The context includes lines starting with '.' (default context) or 'I' (ignored lines).
A new option nocontext has been introduced for the logfiles section in the check_mk.ini file.
check_mk.ini
[logfiles]
# The following textfile will not report any context info (nocontext option)
textfile = nocontext C:\tmp\memo.udf
# Set patterns for defined textfile
warn = *overdue*
ok = *mail sent*
If you simply prepend the parameter nocontext to the actual path (or path pattern), all files matching this pattern will exclude any context info.