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 Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page