check_local_elasticsearch_service.sh: chnage --max-timeout and --connect-timeout for curl request.

This commit is contained in:
2023-04-21 11:10:50 +02:00
parent bb87b9c2b8
commit 90fa1d507e
2 changed files with 54 additions and 14 deletions

View File

@ -10,6 +10,30 @@
# -
#LOCAL_ES_SERVICE_TO_CHECK=""
# - TIME_OUT
# -
# - Maximum time in seconds that is aalowed for the whole curl request
# -
# - Defaults to:
# TIME_OUT=20
# -
#TIME_OUT=20
# - CONNECT_TIMEOUT
# -
# - Maximum time in seconds that you allow curl's connection to take.
# -
# - Note:
# - This only limits the connection phase, so if curl connects within
# - the given period it will continue - if not it will exit.
# -
# - Defaults to:
# - CONNECT_TIMEOUT=5
# -
#CONNECT_TIMEOUT=5
# - LOG_FILES_TO_MONITOR[:<n>]
# -
# - Print out the last lines from theses given logfiles
@ -27,14 +51,6 @@
# -
#LOG_FILES_TO_MONITOR=""
# - TIME_OUT
# -
# - Timeout for curl request of each website
# -
# - Defaults to: TIME_OUT=20
# -
#TIME_OUT=20
# - CONFLICTING_SCRIPTS
# -