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 details)

Uploaded Source

File details

Details for the file pylibratometrics-0.6.tar.gz.

File metadata

File hashes

Hashes for pylibratometrics-0.6.tar.gz
Algorithm Hash digest
SHA256 5a39ec69dc942a6efc12a82074c20fc72fba7d17561c91ad8697e68e6f7a1524
MD5 af084a0f56dd1d1f795106ab403eb8c5
BLAKE2b-256 17eeadad5d0e1eabd6d0dae8176c93d0cf57ea5f6fb119cfe8e58e6c438e628d

See more details on using hashes here.

Supported by

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