Licenses: Updated the list of licenses and added a PDF containing all license texts
[check_mk.git] / .werks / 5338
blob6927dad4d8a60ff934ea91c353a302763ecc7b7a
1 Title: fileinfo: date variables can be defined in fileinfo.cfg
2 Level: 1
3 Component: checks
4 Compatible: compat
5 Edition: cre
6 Version: 1.5.0i1
7 Date: 1506670399
8 Class: feature
10 This werk adds the possibility to define date variables in the file
11 fileinfo.cfg either directly or via the corresponding rule Count,
12 size and age of files. Date variables can be used on linux and solaris
13 hosts and have the form $DATE:format-spec$ where format-spec is a list
14 of time format directives of the unix date command. Example:
15 $DATE:%Y%m%d$ is todays date in the format YYYYMMDD.
16 Using this option the agent will only send files containing the
17 current date. Date variables can be used together with the rules
18 File Grouping Patterns and Size, age count of file groups to monitor
19 if files are created in a directory on a dayly basis. Note that the
20 option Only check during the folling times of the day should be set.
21 Otherwise a warning may be displayed if the file of the current day
22 is not present yet.