GitHub

The check_file_age Plugin

check_file_age v2.2.git (monitoring-plugins 2.2)
The Monitoring Plugins come with ABSOLUTELY NO WARRANTY. You may redistribute
copies of the plugins under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
Copyright (c) 2003 Steven Grimm

Usage:
  check_file_age [-w <secs>] [-c <secs>] [-W <size>] [-C <size>] [-i] -f <file>
  check_file_age [-h | --help]
  check_file_age [-V | --version]

  -i | --ignore-missing :  return OK if the file does not exist
  <secs>  File must be no more than this many seconds old (default: warn 240 secs, crit 600)
  <size>  File must be at least this many bytes long (default: crit 0 bytes)

  Both <secs> and <size> can specify a range using the standard plugin syntax
  If any of the warning and critical arguments are in range syntax (not just bare numbers)
  then all warning and critical arguments will be interpreted as ranges.
  To use range processing the perl module Monitoring::Plugin must be installed
  For range syntax see https://www.monitoring-plugins.org/doc/guidelines.html#THRESHOLDFORMAT
  It is strongly recommended when using range syntax that all four of -w, -W, -c and -C are specified
  otherwise it is unlikely that the size test will be doing what is desired

Send email to help@monitoring-plugins.org if you have questions regarding use
of this software. To submit patches or suggest improvements, send email to
devel@monitoring-plugins.org. Please include version information with all
correspondence (when possible, use output from the --version option of the
plugin itself).