disc / php-zabbix-sender
PHP implementation of zabbix_sender utility. Works with Zabbix 2.0.8, 2.1.7+ and 4.0 versions.
Installs: 138 965
Dependents: 1
Suggesters: 0
Security: 0
Stars: 19
Watchers: 2
Forks: 4
Open Issues: 0
Requires
- php: >=5.4
Requires (Dev)
- codeception/aspect-mock: ^2.0
- mockery/mockery: ^0.9.9
- phpunit/phpunit: ~5.7
README
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]