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 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