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
Release history Release notifications | RSS feed
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 details)
File details
Details for the file uravo-0.0.3.tar.gz
.
File metadata
- Download URL: uravo-0.0.3.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52313fbb142e8446897494ee98d202d7849b269118cdd316f7661678453e9e17 |
|
MD5 | 3386c35e079db1d7b4cad5e422318873 |
|
BLAKE2b-256 | 9352e15cb1ba5f62b86346ed922301f5f44aa818bdf8402811747abfdb68a1d7 |