Module: monitoring-plugins
Branch: master
Commit: 5e2c3992204466d621e521695c4250f1d5480e77
Author: RincewindsHat <[email protected]>
Date: Mon Nov 29 17:27:57 2021 +0100
URL:
https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=5e2c399
Make size parameter a little bit more intelligible
---
plugins-scripts/check_file_age.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins-scripts/check_file_age.pl
b/plugins-scripts/check_file_age.pl
index 01b854a..26281dd 100755
--- a/plugins-scripts/check_file_age.pl
+++ b/plugins-scripts/check_file_age.pl
@@ -147,7 +147,7 @@ sub print_help () {
print "\n";
print " -i | --ignore-missing : return OK if the file does not
exist\n";
print " <secs> File must be no more than this many seconds old
(default: warn 240 secs, crit 600)\n";
- print " <size> File must be at least this many bytes long (default:
crit 0 bytes)\n\n";
+ print " <size> File must be at least this many bytes long (default:
file size is ignored (0 bytes))\n\n";
print " Both <secs> and <size> can specify a range using the standard
plugin syntax\n";
print " If any of the warning and critical arguments are in range
syntax (not just bare numbers)\n";
print " then all warning and critical arguments will be interpreted as
ranges.\n";