Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.

Latest commit

 

History

History
31 lines (19 loc) · 568 Bytes

README.md

File metadata and controls

31 lines (19 loc) · 568 Bytes

pylibratometrics

Simple script to send psutil (host network/cpu/disk) stats into Librato.

Install

sudo apt-get install python-pip python-dev -y
sudo pip install pylibratometrics

Setup

export [email protected]
export LIBRATO_API=<your api key>

Usage

This will push all metrics to librato. Run this periodically.

$ pylibratometrics

A sample crontab config:

[email protected]
LIBRATO_API=de730dcd010d8cs2577cdeaffefdc9e2dc55f68cbca5d3aeca40cc92b2cec73f
*/5 * * * * pylibratometrics