Closed maze-m closed 2 years ago
Hello. I have the same problem with mulitples socket fpm.
Oct 11 17:45:29 nenonipark phpfpm_exporter[164004]: 2022/10/11 17:45:29 Failed to scrape socket: Failed to parse File not found. Oct 11 17:45:29 nenonipark phpfpm_exporter[164004]: 2022/10/11 17:45:29 Failed to scrape socket: Failed to parse File not found. Oct 11 17:45:44 nenonipark phpfpm_exporter[164004]: 2022/10/11 17:45:44 Failed to scrape socket: Failed to parse File not found. Oct 11 17:45:44 nenonipark phpfpm_exporter[164004]: 2022/10/11 17:45:44 Failed to scrape socket: Failed to parse File not found.
Have you any idea ?
Regards,
error is --phpfpm.socket-directories=/var/run/
/var/run is used by many different processes and phpfpm_exporter will have no access to such files, hence all the permission errors while trying to connect to a variety of files in /var/run
you should make a directory used by php-fpm processes only i.e. /var/run/php-fpm/
okay great thank you!
Hi there!
I've downloaded the PHP-FPM Exporter and installed it in /opt/phpfpm_exporter/ and have written an Unit-File with the following content:
What is wrong with my code especially under 'ExecStart' in my Unit-File?