I have upgraded the LVM collector in my StorageCollector repository on github (https://github.com/charlesnagy/Diamond-StorageCollectors) to match the new directory structure of Diamond and added support to collect flashcache metrics.
Move the flashcache directory to your collectors directory which should exist on /usr/local/share/diamond/collectors or /usr/share/diamond/collectors path depending on your installation.
… Continue reading
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 monitoring the solution was obvious. I wrote a collector for lvm which collects all the related metric of all the PVs (Physical … Continue reading
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