monitoring-plugins/plugins-scripts/t
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
..
check_disk_smb.t check_disk_smb: fixed number of tests to skip 2013-09-17 10:23:08 +02:00
check_file_age.t check_file_age: support for --ignore-missing 2014-01-24 20:43:01 +01:00
check_ifoperstatus.t Fixed testcases for check_snmp, check_ifstatus and check_ifoperstatus when no snmp community is specified 2009-06-13 18:13:49 +02:00
check_ifstatus.t Fixed testcases for check_snmp, check_ifstatus and check_ifoperstatus when no snmp community is specified 2009-06-13 18:13:49 +02:00
check_rpc.t Removing CVS/SVN tags and replacing with git-based versioning 2008-11-23 05:38:47 +00:00
utils.t Removing CVS/SVN tags and replacing with git-based versioning 2008-11-23 05:38:47 +00:00