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.

Filename, size & hash SHA256 hash help File type Python version Upload date
pylibratometrics-0.6.tar.gz (3.2 kB) Copy SHA256 hash SHA256 Source None May 23, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page