summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 23128c9)
raw | patch | inline | side by side (parent: 23128c9)
author | Pavel Rochnyack <pavel2000@ngs.ru> | |
Thu, 25 Feb 2016 14:44:02 +0000 (21:44 +0700) | ||
committer | Florian Forster <octo@collectd.org> | |
Thu, 28 Sep 2017 14:43:21 +0000 (16:43 +0200) |
contrib/curl_json/php-fpm.conf | [new file with mode: 0644] | patch | blob |
diff --git a/contrib/curl_json/php-fpm.conf b/contrib/curl_json/php-fpm.conf
--- /dev/null
@@ -0,0 +1,27 @@
+# Example configuration for PHP-FPM
+<Plugin "curl_json">
+ <URL "http://nginx-status/php-fpm-status?json">
+ Plugin "phpfpm"
+ Instance "main"
+ <Key "accepted conn">
+ Type "total_requests"
+ Instance "accepted"
+ </Key>
+ <Key "slow requests">
+ Type "total_requests"
+ Instance "slow"
+ </Key>
+ <Key "listen queue">
+ Type "queue_length"
+ Instance "listen"
+ </Key>
+ <Key "active processes">
+ Type "vs_processes"
+ Instance "active"
+ </Key>
+ <Key "total processes">
+ Type "vs_processes"
+ Instance "total"
+ </Key>
+ </URL>
+</Plugin>