An open API service indexing awesome lists of open source software.

https://github.com/disc/zabbix-sender

PHP Zabbix Sender
https://github.com/disc/zabbix-sender

php php-zabbix-sender zabbix zabbix-sender

Last synced: 3 months ago
JSON representation

PHP Zabbix Sender

Awesome Lists containing this project

README

        

# PHP Zabbix Sender
[![Build Status](https://travis-ci.org/disc/zabbix-sender.svg?branch=master)](https://travis-ci.org/disc/zabbix-sender)
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)
[![Test Coverage](https://codeclimate.com/github/disc/zabbix-sender/badges/coverage.svg)](https://codeclimate.com/github/disc/zabbix-sender/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 [[email protected]]

## License

[The MIT License (MIT)](LICENSE)