disc/php-zabbix-sender

PHP implementation of zabbix_sender utility. Works with Zabbix 2.0.8, 2.1.7+ and 4.0 versions.

1.3.2 2021-09-14 09:19 UTC

This package is auto-updated.

Last update: 2024-04-14 15:09:14 UTC


README

Build Status MIT licensed Test Coverage

Synopsis

Modern php implementation of Zabbix Sender Client.
Support php versions PHP 5.4 and above.
Working with Zabbix 2.0.8, 2.1.7+ and supports version 4.0.

Code Example

Easy to use:

$sender = new \Disc\Zabbix\Sender('localhost', 10051);
$sender->addData('hostname', 'some.key.2', 0.567);
$sender->send();

See sample/sample.php

Installation

Use composer for installation composer require disc/php-zabbix-sender

Tests

Run vendor/bin/phpunit for tests

Contributors

Alexandr Hacicheant [a.hacicheant@gmail.com]

License

The MIT License (MIT)