Simple script to send psutil (host network/cpu/disk) stats into Librato.
sudo apt-get install python-pip python-dev -y
sudo pip install pylibratometrics
export [email protected]
export LIBRATO_API=<your api key>
This will push all metrics to librato. Run this periodically.
$ pylibratometrics
A sample crontab config:
[email protected]
LIBRATO_API=de730dcd010d8cs2577cdeaffefdc9e2dc55f68cbca5d3aeca40cc92b2cec73f
*/5 * * * * pylibratometrics