PHP-FPM collector for Diamond published

I’ve created the php-fpm status collector for Diamond. It’s available on github under Diamond-PhpCollectors: https://github.com/charlesnagy/Diamond-PhpCollectors

Collected metrics

Configuration

First of all you will need to enable status page in php-fpm.conf.

PHP-FPM

The following line should be in the config file.

Reload php-fpm service.

Nginx

In the Nginx config most likely you have to create an explicit location for this. It’s good practice to allow connection from only localhost.

After reload nginx you can test the setup from commandline.

If this returned the list of metrics that means it’s working.

Diamond

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

Restart Diamond and you’re all set.

You might like these too

Flashcache stats collector for Diamond / Graphite I have upgraded the LVM collector in my StorageCollector repository on github (https://github.com/charlesnagy/Diamond-StorageCollectors) to match the ...
PHP-APC collector for Diamond published I've created the php-apc status collector for Diamond. It's available on github under Diamond-PhpCollectors: https://github.com/charlesnagy/Diamond-Ph...
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...