Skip to main content

Simple Zabbix Proxy Sender

Project description

Zabbix Proxy Sender

PyPI PyPI Count Build Status Coverage Status

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ZabbixProxySender-0.0.1.tar.gz (2.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page