Zabbix Sender
Disclaimer
Development of this module stopped! All ideas and solutions will be transferred into py-zabbix. py-zabbix is much more powerful project, and I don’t want to reinvent the wheel.
Quick Start
Connection settings
from ZabbixSender import ZabbixSender, ZabbixPacket
server = ZabbixSender('127.0.0.1', 10051)
Create a package and add the metric values. In the first example with the current time, the second specified in unixtime format.
packet = ZabbixPacket()
packet.add('myhost','key', 'value')
packet.add('myhost2', 'other_key', 'value2', 1455607162)
Now we send our package in Zabbix Server
server.send(packet)
And see the delivery status
print(server.status)
{'info': 'processed: 2; failed: 0; total: 4; seconds spent: 0.207659',
'response': 'success'}
Zabbix Sender Changelog
0.2.5 (02.03.2015)
Features
Add clean method to ZabbixPacket. After successful sending of the packet can not create a new instance, but just clean the old one. ### Bugfixes
Added check for valid timestamp values passed in the packet.
Metadata
Release files for ZabbixSender 0.2.7
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 |
|---|---|---|---|---|
| ZabbixSender-0.2.7.tar.gz | 6.9 kB | Without provenance | Details for ZabbixSender-0.2.7.tar.gz |
Release files / ZabbixSender-0.2.7.tar.gz
| Download URL | ZabbixSender-0.2.7.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
13ab3d45c580124bd77022efca1fded9041e1868acbafe66d7e60fe8a2a36987
|
|
BLAKE2b-256 checksum How to use checksums |
28d4d8d6babbe19fce679611a4fd4cc48fa365075f1b45da834175cf6d3fadda
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for ZabbixSender 0.2.7
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.