Refactoring: Changed remaining check parameters starting with an 's' to the new rules...
[check_mk.git] / .werks / 1103
blob0d45a7c8a587da191791b0812a379ab53cebfe9f
1 Title: windows agent: now able to omit context text of logfiles
2 Level: 1
3 Component: checks
4 Compatible: compat
5 Version: 1.2.5i6
6 Date: 1409224883
7 Class: feature
9 You can now configure whether the context of the logfiles should be
10 sent too, if a ok/warn/crit logline was detected within the logfile.
12 The context includes lines starting with '.' (default context) or 'I' (ignored lines).
14 A new option <tt>nocontext</tt> has been introduced for the logfiles section in the <tt>check_mk.ini</tt> file.
16 F+:check_mk.ini
17 [logfiles]
18     # The following textfile will not report any context info (nocontext option)
19     textfile = nocontext C:\tmp\memo.udf
21     # Set patterns for defined textfile
22     warn = *overdue*
23     ok = *mail sent*
24 F-:
26 If you simply prepend the parameter <tt>nocontext</tt> to the actual path (or path pattern),
27 all files matching this pattern will exclude any context info.