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_single

Checkmk Manual

On this page

Search in the manual

Age and Size of File (mk_filestats)

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

This check monitors the size and age of a single file in the target host's filesystem. If the globbing pattern matches multiple files, one service per matching file is created. You can set lower and upper limits on the age and filesize.

The required python plugin mk_filestats is configured via filestats.cfg located in the $MK_CONFDIR (usually /etc/check_mk/filestats.cfg). To add single file(s) to the check, add one configuration section to the file. The subcheck is triggered, if output: is set to single_file.

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

Item

The matched file.

Discovery

One service is created for each matched file.