check_local_elasticsearch_service.sh: changedefault values for timeout variables;

This commit is contained in:
2024-04-26 10:44:57 +02:00
parent 6c43433c50
commit 4b77adbd93
2 changed files with 214 additions and 3 deletions

View File

@@ -188,8 +188,8 @@ reboot_system() {
# Some default values
#
DEFAULT_NUMBER_LINES=20
DEFAULT_TIME_OUT=20
DEFAULT_CONNECT_TIMEOUT=5
DEFAULT_TIME_OUT=5
DEFAULT_CONNECT_TIMEOUT=4
DEFAULT_LOCAL_ES_SERVICE_TO_CHECK="http://localhost:9200/_cluster/health"
#DEFAULT_CONFLICTING_SCRIPTS="/root/bin/monitoring/check_webservice_load.sh"
@@ -462,7 +462,7 @@ if [[ ! -f "$RESTART_CHECK_FILE" ]]; then
error "The local Elasticsearch Service seems to be down."
if $LOGGING ; then
echo -e "\n \033[1mFirst we try to restore the system. If this is not successful,\n the system will be restarted in about 5 minutes.\033[m"
echo -e "\n \033[1mFirst we try to restart the service. If this is not successful,\n the system will be restarted in about 5 minutes.\033[m"
else
echo ""
echo "First we try to restore the system. If this is not successful,"