mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-15 22:00:06 -04:00
resolve issues from code review
This commit is contained in:
parent
98a365d76c
commit
d332ee1fa0
2 changed files with 4 additions and 3 deletions
|
|
@ -53,6 +53,7 @@ install:
|
|||
- sudo apt-get install -qq --no-install-recommends slapd ldap-utils
|
||||
- sudo apt-get install -qq --no-install-recommends autoconf automake
|
||||
- sudo apt-get install -qq --no-install-recommends faketime
|
||||
- sudo apt-get install -qq --no-install-recommends libmonitoring-plugin-perl
|
||||
# Trusty related dependencies (not yet provided)
|
||||
- test "$(dpkg -l | grep -E "mysql-(client|server)-[0-9].[0-9]" | grep -c ^ii)" -gt 0 || sudo apt-get install -qq --no-install-recommends mariadb-client mariadb-server
|
||||
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue