I’ve created the php-apc status collector for Diamond. It’s available on github under Diamond-PhpCollectors: https://github.com/charlesnagy/Diamond-PhpCollectors
This collector is for collecting APC (Alternative PHP Cache) statistics for Graphite.
To be able to use the plugin first of all you will need to put the included stats_apc.php to the www directory … Continue reading
I’ve created the php-fpm status collector for Diamond. It’s available on github under Diamond-PhpCollectors: https://github.com/charlesnagy/Diamond-PhpCollectors
$ curl http://localhost/fpm_status
start since: 2926
accepted conn: 113
listen queue: 0
max listen queue: 0
listen queue len: 128
idle processes: 2
active processes: 1
total processes: 3
max active processes: 1
max children reached: 0
First of all you will need to enable status page in php-fpm.conf.
The following line should be in the config file.
pm.status_path = /fpm_status
Reload php-fpm service.
In the … Continue reading