To those still who still have RHEL6 (or similar) around, there is a small frustration if you want to send metrics to Graphite: the version of Collectd in the EPEL repository is too old.
EPEL contains (as of writing) version 4.10.9, but to send data directly to Graphite, you need at >5. Yes you can use Bucky as a proxy, but that is silly. I have built a collection of RPMS to install 5.5.0 and I hereby make them available to the world.
To install the simply do the following:
curl -s https://packagecloud.io/install/repositories/chriscowleyunix/monitoring/script.deb.sh | sudo bash sudo yum install collectd
Naturally you are not so trusting as to
curl off some geezer on the internet
and then pipe it to a root shell, so full details are on
This package is based around the one for EL7, but I have disabled
as the required version is more recent the one available in EPEL6. I suppose
A suitable version could be built for EL6, but I can't be bothered.
To push to Graphite create
<LoadPlugin write_graphite> Globals false </LoadPlugin>
<Plugin write_graphite> <Node "el6server.example.com"> Host "graphite.example.com" Port "2003" Prefix "servers." EscapeCharacter "_" StoreRates true AlwaysAppendDS true SeparateInstances false LogSendErrors true Protocol "tcp" </Node> </Plugin>