Difference between revisions of "Plugin:cURL-JSON/phpfpm"
From collectd Wiki
(Created page with "You can use cURL plugin to collect stats from php-fpm instances. The example of config is below. == Config == LoadPlugin curl_json <Plugin curl_json> <URL "http://127.0.0.1…") |
m (moved Plugin:cURL-JSON:phpfpm to Plugin:cURL-JSON/phpfpm) |
(No difference)
|
Revision as of 11:22, 12 December 2011
You can use cURL plugin to collect stats from php-fpm instances. The example of config is below.
Config
LoadPlugin curl_json <Plugin curl_json> <URL "http://127.0.0.1/_fpmstatus?json"> Instance "fpm" <Key "accepted conn"> Type "http_requests" </Key> <Key "listen queue len"> Type "listen_queue" </Key> <Key "active processes"> Type "active_processes" </Key> <Key "total processes"> Type "total_processes" </Key> </URL>
</Plugin>
TODO
1) Add info about types used (i use gauges for types).