Metadata-Version: 2.1
Name: asyncio-zabbix-sender
Version: 0.1.0
Summary: Asyncio implementation of the Zabbix Sender protocol
Home-page: https://github.com/mastdi/asyncio-zabbix-sender
License: Apache-2.0
Author: Martin Storgaard Dieu
Author-email: martin@storgaarddieu.com
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Project-URL: Repository, https://github.com/mastdi/asyncio-zabbix-sender
Description-Content-Type: text/markdown

# 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:
```commandline
pip install zabbix-sender-asyncio
```

## Usage

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

