Asyncio implementation of the Zabbix Sender protocol
Project description
Zabbix sender
Dependency free implementation of the Zabbix Sender protocol using asyncio.
Key features:
- Full specification implemented compared to other Zabbix sender implementations
- Compression is enabled as default
- Asynchronous implementation allows the program to continue while waiting for a response from Zabbix
Installation
The package can be found on PyPI and installed using pip:
pip install zabbix-sender-asyncio
Usage
import datetime
from asyncio_zabbix_sender import ZabbixSender, Measurements, Measurement
sender = ZabbixSender("example.com")
measurements = Measurements()
measurements.add_measurement(Measurement(
"vm-game-server", "cheat[doom]", "idkfa", datetime.datetime.utcnow()
))
await sender.send(measurements)
Road map
The following improvements are planned (not necessary in order):
- Logging
- Encryption between the sender and Zabbix
- More documentation
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
Built Distribution
File details
Details for the file asyncio_zabbix_sender-0.1.0.tar.gz
.
File metadata
- Download URL: asyncio_zabbix_sender-0.1.0.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.8.10 Linux/5.4.0-144-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a35bd6dcedca6e61d78d18bfb3c1f812801dc42a2068586f93b670d928c83a6 |
|
MD5 | d3ec57dfe65c9f21f5b7d23c715ac568 |
|
BLAKE2b-256 | e667829782a1c82980b59b417bd02e397cc18bb3ac84235f6fad6c5d0fd46351 |
File details
Details for the file asyncio_zabbix_sender-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: asyncio_zabbix_sender-0.1.0-py3-none-any.whl
- Upload date:
- Size: 12.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.8.10 Linux/5.4.0-144-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58dad3bbc65804ad11d939cf288a8a6960aa8eaed7ee9c38d792d9ff239a5ab2 |
|
MD5 | fd68c93b8fd39d19d642585be16a6113 |
|
BLAKE2b-256 | 0d990940ecae6253b825c7e844be010a8cb271237e6b2501cf134fefe00cdcdc |