Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

krux/monitorlib

monitorlib

Python library for creating monitoring scripts/plugins.

Install via: pip install -e "git+https://github.com/krux/monitorlib.git#egg=monitorlib"

cloudkick

A cloudkick library to assist with text formatting, to output cloudkick compatible metrics and status messages.

collectd

Library for writing collectd Exec plugins in python. Very simple interface to output metrics or status messages: ok("message"), failure("message"), etc. See examples/ and collectd.py for documentation.

This library does not use the collectd PUTNOTIF-style alerting mechanism. It's too limiting. Instead, you can set defaults by wrapping the library, and for example, have warning messages only email, and failure/ok messages page.

Also includes pagerduty integration, with support for storing the incident_key returned by pagerduty in redis (or flat files), to avoid duplicate alerts.

NEW: support for sending all events to riemann.

About

(obs python2) Python library for creating monitoring scripts/plugins.

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE.md
Unknown
LICENSE.txt

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages