ZMON Worker
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.
Metadata
Release files for zmon-worker 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| zmon-worker-0.1.tar.gz | 93.5 kB | Without provenance | Details for zmon-worker-0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| zmon_worker-0.1-py2-none-any.whl | Python 2 | none | any | Details for zmon_worker-0.1-py2-none-any.whl |
Total release size: 494.6 kB
Release files / zmon-worker-0.1.tar.gz
| Download URL | zmon-worker-0.1.tar.gz |
|---|---|
| Size | 93.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a7cd95bec4f93aa9cf0aa142ad7337aec019a3d63b30fbbab232d31907e527d4
|
|
BLAKE2b-256 checksum How to use checksums |
cfb06c67441494e5499e4bee75ea69f879049661b24d05d0ea8c974e357610e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / zmon_worker-0.1-py2-none-any.whl
| Download URL | zmon_worker-0.1-py2-none-any.whl |
|---|---|
| Size | 401.2 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
f819a66039f1168f478d942037fbd46307172465566611d1d364d35de8c8b1cc
|
|
BLAKE2b-256 checksum How to use checksums |
a332d7000ea3e614ea77a1a0685c787d5fd9a80fc70bade29fe3baf038d25be9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for zmon-worker 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.