Skip to main content

Hi,
We use here php-fpm-8.1.25 with Apache Httpd on redhat 8.9.

php-fpm is listening on port 9042.

I am trying to get this page working : 

https:/mycentreon.site.ch:9042/fpm-status …. to check some php-fpm status (Like Number of active processes).

I added in : /etc/httpd/conf.d/10-centreon.conf :

<Location /fpm-status>
        Order Allow,Deny
        ProxyPass "fcgi://127.0.0.1:9042/fpm-status"
        ProxyPassReverse "fcgi://127.0.0.1:9042/fpm-status"
        Require all granted
    </Location>

 

And in :/etc/php-fpm.d/centreon.conf

pm.status_path = /fpm-status

 

Of course I reloaded apache and php-fpm … but no way even locally I cannot reach the page : 
​​​​​http://127.0.0.1:9042/fpm-status

Reports:
curl: (56) Recv failure: Connection reset by peer

 

… And I cannot get any logs : neither in apache nor in php-fpm logs files …
Any idea ??

Be the first to reply!

Reply