Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Simple zabbix sender

Project Description

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.

Release History

This version
History Node

0.2.7

Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
ZabbixSender-0.2.7.tar.gz
(6.9 kB) Copy SHA256 Hash SHA256
Source None Jul 13, 2016

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting