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.