diff --git a/templates/scripts/prometheus-phpfpm-exporter-script.sh.j2 b/templates/scripts/prometheus-phpfpm-exporter-script.sh.j2 index 108c412..d21446a 100644 --- a/templates/scripts/prometheus-phpfpm-exporter-script.sh.j2 +++ b/templates/scripts/prometheus-phpfpm-exporter-script.sh.j2 @@ -1,2 +1,2 @@ #!/bin/bash -/usr/local/bin/prometheus-phpfpm-exporter $(ls -1 {{ prometheus_phpfpm_sockets_directory }}*.sock | awk '{print "--phpfpm.socket-paths "$1}' |head -c -1) +/usr/local/bin/prometheus-phpfpm-exporter $(ls -1 {{ prometheus_phpfpm_sockets_directory }}*.sock {{ prometheus_phpfpm_sockets_directory_additional }} | awk '{print "--phpfpm.socket-paths "$1}' |head -c -1)