Werk #1103: windows agent: now able to omit context text of logfiles
Komponente | Checks & agents |
Titel | windows agent: now able to omit context text of logfiles |
Datum | 28.08.2014 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk-Version | 1.2.5i6 |
Level | Kleine Änderung |
Klasse | Neues Feature |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
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.