Skip to main content

UPS Monitoring library

Project description

# Monitoring library

Library contains several utility classes that help with building monitoring scripts.

  • Worker, synchronous, thread-backed worker processing tasks (lambdas) inserted to the queue

  • AsyncWorker, asynchronous worker processing coroutines enqueued to the task queue

  • FiFoComm, for client-server communication via named pipes (daemon vs notifier comm), use JWT protection (not included)

  • TcpComm, for client-server communication via TCP, use JWT protection (not included)

  • NotifyEmail, helper for sending notification emails via SMTP server (gmail tested)

  • TelegramBot, helper for sending notifications via Telegram, receive messages, send messages

## Development

Install pre-commit hooks defined by .pre-commit-config.yaml

`shell pip3 install -U pre-commit pre-commit install `

Auto fix `shell pre-commit run --all-files `

Plugin version update `shell pre-commit autoupdate `

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

ph4-monitlib-0.0.6.tar.gz (9.5 kB view details)

Uploaded Source

File details

Details for the file ph4-monitlib-0.0.6.tar.gz.

File metadata

  • Download URL: ph4-monitlib-0.0.6.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for ph4-monitlib-0.0.6.tar.gz
Algorithm Hash digest
SHA256 fec6f7d898309bd309160d3c79a9d1db9d8756e5e4679198753144d5f4756a8e
MD5 8e281c876afa9fcb2491b6799f3fec01
BLAKE2b-256 d52c6664e5b969d2f0eb30088457c7e87b4aabae611c03dd8e4b34d3e0399269

See more details on using hashes here.

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