check_local_webservice.sh: optional number of lines to be printed and some changes on script output.
This commit is contained in:
@ -17,10 +17,21 @@
|
||||
# -
|
||||
LOCAL_WEBSITES_TO_CHECK=""
|
||||
|
||||
# - LOG_FILES_TO_MONITOR
|
||||
# - LOG_FILES_TO_MONITOR[:<n>]
|
||||
# -
|
||||
# - Print out the last 20 lines from theses logfiles
|
||||
# - Print out the last lines from theses given logfiles
|
||||
# -
|
||||
# - its possible to give a number of lines, which should be printed out
|
||||
# - by appending it seperated ba a colon ':'.
|
||||
# -
|
||||
# - The default number of printed out lines is 20.
|
||||
#
|
||||
# - Example:
|
||||
# - LOG_FILES_TO_MONITOR="
|
||||
# - /var/log/apache2/ip_requests.log:40
|
||||
# - /var/log/php-7.4-fpm/php_errors.log
|
||||
# - /var/log/mysql/mysql.err:15
|
||||
# - "
|
||||
# -
|
||||
LOG_FILES_TO_MONITOR=""
|
||||
|
||||
|
Reference in New Issue
Block a user