PHP-FPM provides various metrics thru their status page. Setting up monitoring for PHP-FPM with Nixstats is easy, you can read more at our helpdesk.
The following metrics are available from the PHP-FPM monitoring plugin. Source code is available on GitHub.
The total amount of accepted client connections per second.
The amount of client connections/requests per second.
Currently running active processes.
Currently processes in idle state.
The number of connections that have been initiated but not yet accepted.
The maximum number of connections that will be queued. Once this limit is reached, subsequent connections will be refused or ignored. As connections are accepted, the queue length will be reduced.
The maximum amount of active processes since the start of php-fpm.
The maximum amount of children reached since the start of php-fpm.
The maximum value the listen queue has reached since the start of php-fpm.
Name of the php-fpm pool.
Amount of requests that exceeded your
Seconds that php-fpm has been running.
Unix timestamp of start date.
Number of idle plus active processes.