Skip to main content

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

Project description

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 LIBRATO_USER=your@email.com
export LIBRATO_API=<your api key>

Usage
-------

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

$ pylibratometrics

A sample crontab config:

LIBRATO_USER=your@email.com
LIBRATO_API=de730dcd010d8cs2577cdeaffefdc9e2dc55f68cbca5d3aeca40cc92b2cec73f
*/5 * * * * pylibratometrics

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pylibratometrics-0.6.tar.gz (3.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page