Skip to main content

Python interface to the Uravo monitoring system

Project description

python-uravo

A python interface to the (still theoretical) Uravo monitoring system.

Installation

$ pip3 install uravo

Usage

    from uravo import uravo
    import random

    def test_thing():
        return True if (random.randint(1,100) % 2) else False
        
    if test_thing():
        uravo.alert(Severity="green", AlertGroup="thing", Summary="Thing is good.")
    else:
        uravo.alert(Severity="red", AlertGroup="thing", Summary="Thing is bad.")

This is mostly just a placeholder for early testing, at this point. Since Uravo doesn't really exist, as such, this module will fail silently if it can't connect or if it's not installed.

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

uravo-0.0.3.tar.gz (2.9 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