Refactoring: Moved check parameters from unsorted.py to dedicated modules (CMK-1393)
[check_mk.git] / checkman / fileinfo.groups
blob496ce736f2b91fd1d2434643c23f1701f5cb78f8
1 title: Age, size and count of a group of files
2 agents: windows, linux, freebsd, macosx, solaris
3 catalog: os/files
4 license: GPL
5 distribution: check_mk
6 description:
7   This check monitors the size, age and the count of a group of files
8   in the target host's filesystem.  You can set lower and upper
9   limits for each: size of files, age of oldest, the newest file
10   and for the total count of files.
12   This check needs some configuration in the agent, as the agent needs to
13   know the information about which files need to be sent.  Please refer to
14   fileinfo's manpage for information about setting up the agent.
16   The check also needs a configured file grouping pattern.  The name of the
17   file group is referenced in the check configuration as the item.
19   File grouping patterns combine a simple pattern based on {*} and {?} to
20   join a subset of the file names send by the agent into a file group. In
21   addition an {exclude} pattern may be defined to exclude certain filenames.
23   Furthermore, the current time/date in a configurable format may be
24   included in the pattern. The syntax is as follows: {$DATE:format-spec$},
25   where {format-spec} is a list of time format directives of the unix date
26   command.  Example: {$DATE:%Y%m%d$} is todays date, e.g. 20140127. A pattern
27   of {/var/tmp/backups/$DATE:%Y%m%d$.txt} would search for .txt files with
28   todays date as name in the directory /var/tmp/backups.
30 item:
31   Configured name of the file group
33 inventory:
34   You have to configure at least on pattern for each
35   fileinfo group