PHP-APC collector for Diamond published

I’ve created the php-apc status collector for Diamond. It’s available on github under 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 where Apache or Nginx (or whatever webserver you like) will be able to serve from. The following configurations assume nginx setup but can be easily applied to any webserver.


Put the stats_apc.php file in the webserver root for http://localhost/. This way you will be able to crawl the statistics from the url http://localhost/stats_apc.php. You can test your setup from console:

If this returned a JSON object that means it’s working.


In /etc/diamond/collectors/PhpApcCollector.conf insert the followings

Restart Diamond and you’re all set.

You might like these too

Lvm status and statistics collector for Diamond/Gr... I need to monitor snapshot usage pv free space and a bunch of other parameters on a lot of servers. As we are using graphite and diamond for monitorin...
PHP-FPM collector for Diamond published I've created the php-fpm status collector for Diamond. It's available on github under Diamond-PhpCollectors:
Flashcache stats collector for Diamond / Graphite I have upgraded the LVM collector in my StorageCollector repository on github ( to match the ...