diff --git a/tests/all.sh b/tests/all.sh index 3bd1d1f..5ad0cdd 100644 --- a/tests/all.sh +++ b/tests/all.sh @@ -75,6 +75,7 @@ setupPool() { copyPool "$POOL_FILE" "$POOL_NAME" "$POOL_SOCKET" "static" sudo service "php${PHP_VERSION}-fpm" restart + sudo systemctl status "php${PHP_VERSION}-fpm.service" } setupPools() { diff --git a/zabbix/zabbix_php_fpm_discovery.sh b/zabbix/zabbix_php_fpm_discovery.sh index 14f6dea..93e3323 100644 --- a/zabbix/zabbix_php_fpm_discovery.sh +++ b/zabbix/zabbix_php_fpm_discovery.sh @@ -23,7 +23,7 @@ DEBUG_MODE="" USE_SLEEP_TIMEOUT="" #Sleep timeout in seconds -SLEEP_TIMEOUT="0.7" +SLEEP_TIMEOUT="0.5" #Checking all the required executables S_PS=$(type -P ps) @@ -641,11 +641,11 @@ for POOL_ITEM in "${PENDING_LIST[@]}"; do if [[ -n "$POOL_NAME" ]] && [[ -n "$POOL_SOCKET" ]]; then ProcessPool "$POOL_NAME" "$POOL_SOCKET" - #Used for debugging: - sleepNow - #Confirm that we run not too much time CheckExecutionTime + + #Used for debugging: + sleepNow fi done