Skip to main content

ZMON Worker Monitor

Project description

Build Status Coverage Status PyPI Downloads Latest PyPI version License

ZMON’s Python worker is doing the heavy lifting of executing tasks against entities, and evaluating all alerts assigned to check. Tasks are picked up from Redis and the resulting check values plus alert state changes are written back to Redis.

Local Development

Start Redis on localhost:6379:

$ docker run -p 6379:6379 -it redis

Install the required development libraries:

$ sudo apt-get install build-essential python2.7-dev libpq-dev libldap2-dev libsasl2-dev libsnappy-dev
$ sudo pip2 install -r requirements.txt

Start the ZMON worker process:

$ python2 -m zmon_worker_monitor

You can query the worker monitor via RPC:

$ python2 -m zmon_worker_monitor.rpc_client http://localhost:23500/zmon_rpc list_stats

Running Unit Tests

$ sudo pip2 install -r test_requirements.txt
$ python2 setup.py test

Building the Docker Image

$ docker build -t zmon-worker .
$ docker run -it zmon-worker

Running the Docker image

The Docker image supports many configuration options via environment variables. Configuration options are explained in the ZMON Documentation.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zmon-worker-0.1.tar.gz (93.5 kB view details)

Uploaded Source

Built Distribution

zmon_worker-0.1-py2-none-any.whl (401.2 kB view details)

Uploaded Python 2

File details

Details for the file zmon-worker-0.1.tar.gz.

File metadata

  • Download URL: zmon-worker-0.1.tar.gz
  • Upload date:
  • Size: 93.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for zmon-worker-0.1.tar.gz
Algorithm Hash digest
SHA256 a7cd95bec4f93aa9cf0aa142ad7337aec019a3d63b30fbbab232d31907e527d4
MD5 836c301ef5a7ce775e987506154cd46a
BLAKE2b-256 cfb06c67441494e5499e4bee75ea69f879049661b24d05d0ea8c974e357610e1

See more details on using hashes here.

File details

Details for the file zmon_worker-0.1-py2-none-any.whl.

File metadata

File hashes

Hashes for zmon_worker-0.1-py2-none-any.whl
Algorithm Hash digest
SHA256 f819a66039f1168f478d942037fbd46307172465566611d1d364d35de8c8b1cc
MD5 8949280ee50f4791bac24c1be8bfba2c
BLAKE2b-256 a332d7000ea3e614ea77a1a0685c787d5fd9a80fc70bade29fe3baf038d25be9

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