Explorar o código

Update check_log.sh

Fix print_usage()
arvanus %!s(int64=12) %!d(string=hai) anos
pai
achega
87f7552625
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      plugins-scripts/check_log.sh

+ 1 - 0
plugins-scripts/check_log.sh

@@ -82,6 +82,7 @@ print_usage() {
     echo "Usage: $PROGNAME --version"
     echo "Usage: $PROGNAME --version"
     echo "     Aditional parameter:"
     echo "     Aditional parameter:"
     echo "        -w (--max_warning) If used, determines the maximum matching value to return as warning, when finding more matching lines than this parameter will return as critical. If not used, will consider as default 0 (any matching will consider as critical)"
     echo "        -w (--max_warning) If used, determines the maximum matching value to return as warning, when finding more matching lines than this parameter will return as critical. If not used, will consider as default 0 (any matching will consider as critical)"
+    echo "Usage: $PROGNAME -F logfile -O oldlog -q query -w <number>"
 }
 }
 
 
 print_help() {
 print_help() {