https://github.com/BrightcoveOS/Diamond
From their wiki:
Diamond is a python daemon that collects system metrics and publishes them to Graphite. It is capable of collecting cpu, memory, network, i/o, load and disk metrics. Additionally, it features an API for implementing custom collectors for gathering metrics from almost any source.
apt-get install build-essentials
apt-get install python-dev
pip install psutil
pip install configobj
- Clone the repo (git clone https://github.com/BrightcoveOS/Diamond.git)
- Run sudo make install
- Create and modify /etc/diamond/diamond.conf (copy the example config)
- Change 'collectors_path' to be '/usr/local/share/diamond/collectors/'
- Run mkdir /var/log/diamond
- Replace the init script with the one found below.