Zabbix monitoring php-fpm
Debian 8
/etc/php5/fpm/pool.d/www.conf
/etc/nginx/conf.d/phpfpm-status.conf
server {
listen 80;
server_name phpfpm-status;
keepalive_timeout 0;
allow 127.0.0.1;
allow ::1;
deny all;
location /status {
include fastcgi_params;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
access_log off;
}
Checking