From e2264c575a9b1acfd60ebaf2191aeb6ad2ab4433 Mon Sep 17 00:00:00 2001 From: Ramil Valitov Date: Mon, 29 Jun 2020 03:02:55 +0300 Subject: [PATCH] [del] localhost --- tests/all.sh | 2 +- zabbix/zabbix_php_fpm_discovery.sh | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/all.sh b/tests/all.sh index c9e5e2e..3a29aa5 100644 --- a/tests/all.sh +++ b/tests/all.sh @@ -38,7 +38,7 @@ setupPool() { NEW_POOL_FILE="$POOL_DIR/${POOL_NAME}.conf" sudo cp "$POOL_FILE" "$NEW_POOL_FILE" - sudo sed -i "s#listen =.*#listen = 127.0.0.1:$POOL_PORT#" "$NEW_POOL_FILE" + sudo sed -i "s#listen =.*#listen = $POOL_PORT#" "$NEW_POOL_FILE" sudo sed -i "s#\[www\]#[$POOL_NAME]#" "$NEW_POOL_FILE" done diff --git a/zabbix/zabbix_php_fpm_discovery.sh b/zabbix/zabbix_php_fpm_discovery.sh index 35c4322..53d763e 100644 --- a/zabbix/zabbix_php_fpm_discovery.sh +++ b/zabbix/zabbix_php_fpm_discovery.sh @@ -163,7 +163,6 @@ function ProcessPool() { fi PrintDebug "Failed to validate status data for pool $POOL_NAME, socket $POOL_SOCKET, status path $STATUS_PATH" - PrintDebug "Status script returned: $STATUS_JSON" if [[ -n ${STATUS_JSON} ]]; then PrintDebug "Status script returned: $STATUS_JSON" fi