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 Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page