diff options
author | phowen <phowen@cisco.com> | 2017-04-05 10:27:37 +0100 |
---|---|---|
committer | phowen <phowen@cisco.com> | 2017-04-05 10:27:37 +0100 |
commit | d332ee1fa09f09e6025d58a99876d96d50bbf439 (patch) | |
tree | 653755327bb30bda1397a272c98838a6d7ce4e10 /plugins-scripts | |
parent | 98a365d76c9b7e270d7b00953905d80c80c1467d (diff) | |
download | monitoring-plugins-d332ee1fa09f09e6025d58a99876d96d50bbf439.tar.gz |
resolve issues from code review
Diffstat (limited to 'plugins-scripts')
-rwxr-xr-x | plugins-scripts/check_file_age.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins-scripts/check_file_age.pl b/plugins-scripts/check_file_age.pl index dc49ce79..01b854a6 100755 --- a/plugins-scripts/check_file_age.pl +++ b/plugins-scripts/check_file_age.pl @@ -57,7 +57,7 @@ GetOptions( "C=s" => \$opt_C, "critical-size=s" => \$opt_C); if ($opt_V) { - print_revision($PROGNAME, '2.2.22.g0d73b'); + print_revision($PROGNAME, '@NP_VERSION@'); exit $ERRORS{'UNKNOWN'}; } @@ -152,9 +152,9 @@ sub print_help () { 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"; print " To use range processing the perl module Monitoring::Plugin must be installed\n"; - print " For range syntax see https://nagios-plugins.org/doc/guidelines.html#THRESHOLDFORMAT\n"; + print " For range syntax see https://www.monitoring-plugins.org/doc/guidelines.html#THRESHOLDFORMAT\n"; print " It is strongly recommended when using range syntax that all four of -w, -W, -c and -C are specified\n"; - print " otherwise it is unlikely that the size test will be doint wat is desired\n"; + print " otherwise it is unlikely that the size test will be doing what is desired\n"; print "\n"; support(); } |