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.

Check manual page of filestats

Checkmk Manual

On this page

Search in the manual

Age and size of files (mk_filestats)

Distribution: official part of Check_MK
License: GPL
Supported Agents: Windows, Linux, FREEBSD, MACOSX, Solaris, AIX

This check monitors the size, age and count of specific files in the target host's filesystem. You can set lower and upper limits on the count, the modification time and the size of a file.

This check needs some configuration in the agent, as the agent needs to know the information about which files need to be sent.

The required python plugin mk_filestats is configured via filestats.cfg located in the $MK_CONFDIR (usually /etc/check_mk/filestats.cfg). To add file groups to the check, add one configuration section to the file.

Note that the informational depth of the received data depends on the choosen output option.

For an extensive documentation of the available options, please refer to "mk_filestats.py --help".

Item

One item is created per configured section using the 'file_stats' output, with the sections name as item.

Discovery

For each section that the agent sends one service will be created: "File group ".