Simple Zabbix Proxy Sender
Project description
Zabbix Proxy Sender
Disclaimer
Quick Start
Connection settings
from ZabbixProxySender import ZabbixProxySender, ZabbixProxyPacket
server = ZabbixProxySender('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('proxy name')
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 Proxy Sender Changelog
0.0.1 (27.08.2019)
Features
Inital implementation
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file ZabbixProxySender-0.0.1.tar.gz
.
File metadata
- Download URL: ZabbixProxySender-0.0.1.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 227babe295460329dcb7229d361ed45df069c88ce6f371d40ede623b343676f8 |
|
MD5 | 2da4b1780e694ef2a0d70a6953c37031 |
|
BLAKE2b-256 | bfced27a13177d95ece2167d4f01e21d8dcd6420d3d4b981ccace0d41bb12f60 |