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