monitoring-plugins/plugins-scripts
Jan Wagner 0b9b300f85 check_file_age: support for --ignore-missing
Patch to provide for a -i | --ignore-missing option. This allows files that
don't exist to be monitored for without causing an error. The use case is:

* one process periodically pushes files to an "input" queue for a second
  process
* the second process, when running cleanly will "consume" (process and remove)
  these files

So the conditions to meet are:
1. If the file doesn't exist, that's fine (OK)
2. If the file exists, but is less than X seconds, that's fine (OK)
3. If the file exists, but greater than X seconds, no good (CRITICAL)

Since now check_file_age doesn't permit this behavior, as a non-existent file
is considered CRITICAL.

Test case was contributed by our lovely Holger.

Closes #1181, Closes #989, Closes #862, Closes #1187, Closes #845
Closes Debian Bug #496307
2014-01-24 20:43:01 +01:00
..
t check_file_age: support for --ignore-missing 2014-01-24 20:43:01 +01:00
check_breeze.pl Removing CVS/SVN tags and replacing with git-based versioning 2008-11-23 05:38:47 +00:00
check_disk_smb.pl Project rename initial commit. 2014-01-19 14:18:47 -05:00
check_file_age.pl check_file_age: support for --ignore-missing 2014-01-24 20:43:01 +01:00
check_flexlm.pl Project rename initial commit. 2014-01-19 14:18:47 -05:00
check_ifoperstatus.pl fix outdated Free Software Foundation address 2014-01-22 11:43:31 +01:00
check_ifstatus.pl fix outdated Free Software Foundation address 2014-01-22 11:43:31 +01:00
check_ircd.pl Project rename initial commit. 2014-01-19 14:18:47 -05:00
check_log.sh Project rename initial commit. 2014-01-19 14:18:47 -05:00
check_mailq.pl fix outdated Free Software Foundation address 2014-01-22 11:43:31 +01:00
check_mssql.pl Project rename initial commit. 2014-01-19 14:18:47 -05:00
check_netdns.pl Removing CVS/SVN tags and replacing with git-based versioning 2008-11-23 05:38:47 +00:00
check_oracle.sh Merge branch 'maint' 2014-01-21 16:07:38 +01:00
check_rpc.pl Project rename initial commit. 2014-01-19 14:18:47 -05:00
check_sensors.sh Made verbose output of check_sensors compilant 2013-05-19 04:24:21 +02:00
check_wave.pl Removing CVS/SVN tags and replacing with git-based versioning 2008-11-23 05:38:47 +00:00
Makefile.am Remove obsolete check_ntp.pl 2014-01-23 09:06:58 -05:00
subst.in Fix awk subst.in/subst script path error (#2722832 - Martin Foster) 2009-05-20 00:43:10 -04:00
utils.pm.in Capitalize "Monitoring Plugins" 2014-01-21 16:19:20 +01:00
utils.sh.in utils.sh: Don't define $ECHO 2014-01-13 22:55:43 +01:00