aboutsummaryrefslogtreecommitdiff
path: root/plugins-scripts/check_file_age.pl
diff options
context:
space:
mode:
authorGravatar RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> 2021-11-29 17:41:44 +0100
committerGravatar GitHub <noreply@github.com> 2021-11-29 17:41:44 +0100
commit1a3a715702a5b6709fed2a1eb53ec644c9968057 (patch)
tree97724d4b5042355531ebadc2a46aded91a287d01 /plugins-scripts/check_file_age.pl
parentf589b7041fd2b7444b4000634151457a4bccff43 (diff)
parent5e2c3992204466d621e521695c4250f1d5480e77 (diff)
downloadmonitoring-plugins-1a3a715702a5b6709fed2a1eb53ec644c9968057.tar.gz
Merge pull request #1730 from RincewindsHat/check_file_age_more_explicit_help
Make size parameter a little bit more intelligible
Diffstat (limited to 'plugins-scripts/check_file_age.pl')
-rwxr-xr-xplugins-scripts/check_file_age.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins-scripts/check_file_age.pl b/plugins-scripts/check_file_age.pl
index 01b854a6..26281ddd 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";