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 #1103: windows agent: now able to omit context text of logfiles

ComponentChecks & Agents
Titlewindows agent: now able to omit context text of logfiles
Date2014-08-28 13:21:23
Checkmk EditionCheckmk Raw Edition (CRE)
Checkmk Version1.2.5i6
LevelTrivial Change
ClassNew Feature
CompatibilityCompatible - 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.

# 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.