4.2
2019-08-13T08:28:09Z
Templates/Applications
Template App PHP-FPM
Template App PHP-FPM
PHP-FPM Zabbix Template with Auto Discovery and Multiple Pools
Templates/Applications
PHP-FPM
-
Number of CPUs
0
system.cpu.num["online"]
1m
1h
365d
0
3
0
0
0
0
Number of active CPUs
0
PHP-FPM
3s
200
1
0
0
0
0
0
0
0
PHP-FPM Pools Discovery
0
php-fpm.discover
2m
0
0
0
0
0
0
30d
PHP-FPM ({#POOLNAME}): Accepted Connections Per Second
18
php-fpm.accepted_conn[{#POOLSOCKET}]
0
1d
365d
0
0
0
0
0
0
The number of incoming requests per second that the pool has accepted; when a connection is accepted it is removed from the listen queue (displayed in real time).
0
PHP-FPM
12
$['accepted conn']
0
10
0
3s
200
1
0
0
0
0
0
0
0
Pool {#POOLNAME}
php-fpm.status[{#POOLSOCKET},{$PHP_FPM_STATUS_URL}]
PHP-FPM ({#POOLNAME}): Active Processes
18
php-fpm.active_processes[{#POOLSOCKET}]
0
1d
365d
0
3
0
0
0
0
The number of servers current processing a page - the minimum is 1 (so even on a fully idle server, the result will be not read 0).
0
PHP-FPM
12
$['active processes']
0
3s
200
1
0
0
0
0
0
0
0
Pool {#POOLNAME}
php-fpm.status[{#POOLSOCKET},{$PHP_FPM_STATUS_URL}]
PHP-FPM ({#POOLNAME}): CPU Average Utilization
15
php-fpm.cpu[{#POOLNAME}]
1m
1h
365d
0
0
%
0
0
0
last(proc.cpu.util["php-fpm: pool {#POOLNAME}"])/last(system.cpu.num["online"])
0
CPU utilization used by the pool normalized by the number of cores.
0
PHP-FPM
3s
200
1
0
0
0
0
0
0
0
Pool {#POOLNAME}
PHP-FPM ({#POOLNAME}): Idle Processes
18
php-fpm.idle_processes[{#POOLSOCKET}]
0
1d
365d
0
3
0
0
0
0
The total number of idle processes.
0
PHP-FPM
12
$['idle processes']
0
3s
200
1
0
0
0
0
0
0
0
Pool {#POOLNAME}
php-fpm.status[{#POOLSOCKET},{$PHP_FPM_STATUS_URL}]
PHP-FPM ({#POOLNAME}): Listen Queue
18
php-fpm.listen_queue[{#POOLSOCKET}]
0
1d
365d
0
3
0
0
0
0
The current number of connections that have been initiated, but not yet accepted. If this value is non-zero it typically means that all the available server processes are currently busy, and there are no processes available to serve the next request. Raising pm.max_children (provided the server can handle it) should help keep this number low. This property follows from the fact that PHP-FPM listens via a socket (TCP or file based), and thus inherits some of the characteristics of sockets.
0
PHP-FPM
12
$['listen queue']
0
3s
200
1
0
0
0
0
0
0
0
Pool {#POOLNAME}
php-fpm.status[{#POOLSOCKET},{$PHP_FPM_STATUS_URL}]
PHP-FPM ({#POOLNAME}): Listen Queue Length
18
php-fpm.listen_queue_len[{#POOLSOCKET}]
0
1d
365d
0
3
0
0
0
0
The upper limit on the number of connections that will be queued. Once this limit is reached, subsequent connections will either be refused, or ignored. This value is set by the php-fpm per pool configuration option 'listen.backlog', which defaults to -1 (unlimited). However, this value is also limited by the system (sysctl) value 'net.core.somaxconn', which defaults to 128 on many Linux systems.
0
PHP-FPM
12
$['listen queue len']
0
3s
200
1
0
0
0
0
0
0
0
Pool {#POOLNAME}
php-fpm.status[{#POOLSOCKET},{$PHP_FPM_STATUS_URL}]
PHP-FPM ({#POOLNAME}): Max Active Processes
18
php-fpm.max_active_processes[{#POOLSOCKET}]
0
1d
365d
0
3
0
0
0
0
The highest value that 'active processes' has reached since the php-fpm server started. This value should not exceed pm.max_children.
0
PHP-FPM
12
$['max active processes']
0
3s
200
1
0
0
0
0
0
0
0
Pool {#POOLNAME}
php-fpm.status[{#POOLSOCKET},{$PHP_FPM_STATUS_URL}]
PHP-FPM ({#POOLNAME}): Max Children Reached
18
php-fpm.max_children_reached[{#POOLSOCKET}]
0
1d
365d
0
3
0
0
0
0
The number of times that pm.max_children has been reached since the php-fpm pool started (only applicable if the process manager is ondemand or dynamic).
0
PHP-FPM
12
$['max children reached']
0
9
0
3s
200
1
0
0
0
0
0
0
0
Pool {#POOLNAME}
php-fpm.status[{#POOLSOCKET},{$PHP_FPM_STATUS_URL}]
PHP-FPM ({#POOLNAME}): Max Listen Queue
18
php-fpm.max_listen_queue[{#POOLSOCKET}]
0
1d
365d
0
3
0
0
0
0
The maximum number of requests in the queue of pending connections since this FPM pool has started.
0
PHP-FPM
12
$['max listen queue']
0
3s
200
1
0
0
0
0
0
0
0
Pool {#POOLNAME}
php-fpm.status[{#POOLSOCKET},{$PHP_FPM_STATUS_URL}]
PHP-FPM ({#POOLNAME}): Process Manager
18
php-fpm.process_manager[{#POOLSOCKET}]
0
1d
0
0
4
0
0
0
0
The method used by the process manager to control the number of child processes (possible values: ondemand, dynamic or static) for this pool.
0
PHP-FPM
12
$['process manager']
0
3s
200
1
0
0
0
0
0
0
0
Pool {#POOLNAME}
php-fpm.status[{#POOLSOCKET},{$PHP_FPM_STATUS_URL}]
PHP-FPM ({#POOLNAME}): Queue Utilization
15
php-fpm.queue[{#POOLSOCKET}]
1m
1h
365d
0
0
%
0
0
0
last(php-fpm.listen_queue[{#POOLSOCKET}])/(last(php-fpm.listen_queue_len[{#POOLSOCKET}])+0.0001)
0
Queue utilization.
0
PHP-FPM
3s
200
1
0
0
0
0
0
0
0
Pool {#POOLNAME}
PHP-FPM ({#POOLNAME}): Slow Requests
18
php-fpm.slow_requests[{#POOLSOCKET}]
0
1d
365d
0
3
0
0
0
0
The number of requests that exceeded your request_slowlog_timeout value.
0
PHP-FPM
12
$['slow requests']
0
9
0
3s
200
1
0
0
0
0
0
0
0
Pool {#POOLNAME}
php-fpm.status[{#POOLSOCKET},{$PHP_FPM_STATUS_URL}]
PHP-FPM ({#POOLNAME}): Start Since
18
php-fpm.start_since[{#POOLSOCKET}]
0
1d
365d
0
3
s
0
0
0
0
How long has this pool been running.
0
PHP-FPM
12
$['start since']
0
3s
200
1
0
0
0
0
0
0
0
Pool {#POOLNAME}
php-fpm.status[{#POOLSOCKET},{$PHP_FPM_STATUS_URL}]
PHP-FPM ({#POOLNAME}): Start Time
18
php-fpm.start_time[{#POOLSOCKET}]
0
1d
365d
0
3
unixtime
0
0
0
0
The time when this pool was started.
0
PHP-FPM
12
$['start time']
0
3s
200
1
0
0
0
0
0
0
0
Pool {#POOLNAME}
php-fpm.status[{#POOLSOCKET},{$PHP_FPM_STATUS_URL}]
PHP-FPM Pool {#POOLNAME} status
0
php-fpm.status[{#POOLSOCKET},{$PHP_FPM_STATUS_URL}]
1m
1h
0
0
4
0
0
0
0
0
PHP-FPM
3s
1
0
0
0
0
0
0
0
PHP-FPM ({#POOLNAME}): CPU Utilization
0
proc.cpu.util["php-fpm: pool {#POOLNAME}"]
1m
1d
365d
0
0
%
0
0
0
0
CPU utilization used by the pool. The return value is based on the use of a single CPU core, in percent. For example, CPU utilization of the full use of two cores is 200%.
0
PHP-FPM
3s
200
1
0
0
0
0
0
0
0
Pool {#POOLNAME}
PHP-FPM ({#POOLNAME}): Memory Utilization
0
proc.mem["php-fpm: pool {#POOLNAME}",,,,pmem]
1m
1d
365d
0
0
%
0
0
0
0
0
PHP-FPM
3s
200
1
0
0
0
0
0
0
0
Pool {#POOLNAME}
PHP-FPM ({#POOLNAME}): Memory Used
0
proc.mem["php-fpm: pool {#POOLNAME}",,,,vsize]
1m
1d
365d
0
0
B
0
0
0
0
0
PHP-FPM
3s
200
1
0
0
0
0
0
0
0
Pool {#POOLNAME}
{Template App PHP-FPM:php-fpm.accepted_conn[{#POOLSOCKET}].last(0)}>=500
0
PHP-FPM: too many connections on {HOST.NAME} pool {#POOLNAME}
0
0
4
Too many active connections on pool {#POOLNAME}
0
0
{Template App PHP-FPM:php-fpm.slow_requests[{#POOLSOCKET}].change()}>0
0
PHP-FPM detected slow request on {HOST.NAME} pool {#POOLNAME}
0
0
2
0
0
{Template App PHP-FPM:php-fpm.process_manager[{#POOLSOCKET}].diff()}=1
0
PHP-FPM manager changed on {HOST.NAME} pool {#POOLNAME}
0
0
1
0
0
{Template App PHP-FPM:php-fpm.listen_queue[{#POOLSOCKET}].diff()}=1
0
PHP-FPM uses queue on {HOST.NAME} pool {#POOLNAME}
0
0
2
0
0
{Template App PHP-FPM:proc.mem["php-fpm: pool {#POOLNAME}",,,,pmem].last()}>=50
0
PHP-FPM uses too much memory on {HOST.NAME} pool {#POOLNAME}
0
0
3
0
0
Pool {#POOLNAME} Connections
900
200
0.0000
100.0000
1
1
0
1
0
0.0000
0.0000
1
0
0
0
0
1
1A7C11
0
2
0
-
Template App PHP-FPM
php-fpm.accepted_conn[{#POOLSOCKET}]
1
0
BF00FF
1
2
0
-
Template App PHP-FPM
php-fpm.cpu[{#POOLNAME}]
2
0
4000FF
1
2
0
-
Template App PHP-FPM
proc.mem["php-fpm: pool {#POOLNAME}",,,,pmem]
3
0
FF0000
1
2
0
-
Template App PHP-FPM
php-fpm.queue[{#POOLSOCKET}]
Pool {#POOLNAME} CPU
900
200
0.0000
100.0000
1
1
0
1
0
0.0000
0.0000
1
0
0
0
0
1
1A7C11
0
2
0
-
Template App PHP-FPM
php-fpm.cpu[{#POOLNAME}]
1
1
4000FF
1
2
0
-
Template App PHP-FPM
php-fpm.accepted_conn[{#POOLSOCKET}]
Pool {#POOLNAME} Max Children Reached
900
200
0.0000
100.0000
1
1
0
1
0
0.0000
0.0000
1
0
0
0
0
1
FF0000
0
2
0
-
Template App PHP-FPM
php-fpm.max_children_reached[{#POOLSOCKET}]
1
0
1A7C11
1
2
0
-
Template App PHP-FPM
php-fpm.accepted_conn[{#POOLSOCKET}]
Pool {#POOLNAME} Memory
900
200
0.0000
100.0000
1
1
0
1
0
0.0000
0.0000
1
0
0
0
0
1
00BFFF
0
2
0
-
Template App PHP-FPM
proc.mem["php-fpm: pool {#POOLNAME}",,,,vsize]
1
0
BF00FF
1
2
0
-
Template App PHP-FPM
php-fpm.cpu[{#POOLNAME}]
2
0
4000FF
1
2
0
-
Template App PHP-FPM
proc.mem["php-fpm: pool {#POOLNAME}",,,,pmem]
3
0
FF0000
1
2
0
-
Template App PHP-FPM
php-fpm.queue[{#POOLSOCKET}]
Pool {#POOLNAME} Process
900
200
0.0000
100.0000
1
1
0
1
0
0.0000
0.0000
1
0
0
0
0
1
C5CAE9
0
2
0
-
Template App PHP-FPM
php-fpm.active_processes[{#POOLSOCKET}]
1
0
0040FF
0
2
0
-
Template App PHP-FPM
php-fpm.idle_processes[{#POOLSOCKET}]
2
0
BF00FF
1
2
0
-
Template App PHP-FPM
php-fpm.accepted_conn[{#POOLSOCKET}]
Pool {#POOLNAME} Queue
900
200
0.0000
100.0000
1
1
0
1
0
0.0000
0.0000
1
2
0
Template App PHP-FPM
php-fpm.listen_queue_len[{#POOLSOCKET}]
0
1
F63100
0
2
0
-
Template App PHP-FPM
php-fpm.listen_queue[{#POOLSOCKET}]
3s
200
1
0
0
0
0
0
0
{$PHP_FPM_STATUS_URL}
/php-fpm-status