1 # Example configuration for PHP-FPM
2 <Plugin "curl_json">
3 <URL "http://nginx-status/php-fpm-status?json">
4 Plugin "phpfpm"
5 Instance "main"
6 <Key "accepted conn">
7 Type "total_requests"
8 Instance "accepted"
9 </Key>
10 <Key "slow requests">
11 Type "total_requests"
12 Instance "slow"
13 </Key>
14 <Key "listen queue">
15 Type "queue_length"
16 Instance "listen"
17 </Key>
18 <Key "active processes">
19 Type "vs_processes"
20 Instance "active"
21 </Key>
22 <Key "total processes">
23 Type "vs_processes"
24 Instance "total"
25 </Key>
26 </URL>
27 </Plugin>