Skip to content

Commit

Permalink
release v1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
0xdeface committed Dec 9, 2021
1 parent ce78982 commit a227e88
Showing 1 changed file with 7 additions and 14 deletions.
21 changes: 7 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,22 @@ zabbix-sender-http does not depend on the zabbix_sender tool and fully implement
[![build](https://github.com/0xdeface/zabbix-sender-http/actions/workflows/build.yml/badge.svg?branch=master)](https://github.com/0xdeface/zabbix-sender-http/actions/workflows/build.yml)
![release](https://img.shields.io/github/v/release/0xdeface/zabbix-sender-http.svg)

**Zabbix-sender-http** - Инструмент для приема событий по http и отправки этих событий в zabbix.

### (builds) Готовые сборки
### builds:
[windows_x64_build](dist/zabbix-http.exe)

[linux_build](dist/zabbix-http)


Проверен и совместим с zabbix v5.4

### (usage) Использование:
Просто запустите **zabbix-http**, это запустит веб сервер готовый принимать данные.
Для отправки данных сформируйте GET запрос. Сервер ожидает
следующие параметры запроса ["server", "key", "value"]
_tested with zabbix v5.4_

### usage:
Just run **zabbix-http**, this command will run web server ready to receive data.
To send data you should make http Get request with these query parameters: ["server", "key", "value"]
```bash
curl localhost:8080?server=HOST_NAME&key=ITEM&value=MYVAL
```
##### (example run on docker) Пример запуска docker контейнера
##### example run on docker
```bash
docker run --name zabbix-sender-http -d \
-p 3001:8080 \
Expand All @@ -35,8 +30,7 @@ To send data you should make http Get request with these query parameters: ["ser
ghcr.io/0xdeface/zabbix-sender:latest
```

### (launch parameters) Параметры запуска
Таблица ниже отображает доступные параметры запуска и их приоритеты.
### launch parameters

The table bellow shows possible launch parameters and their priority.

Expand All @@ -47,7 +41,6 @@ The table bellow shows possible launch parameters and their priority.
| --zabbix-port | ZABBIX_PORT | 10051 | set zabbix server port |
| --http-port | HTTP_PORT | 8080 | http server port |

### Прием данных в zabbix
Просто создайте элемент данных с типом zabbix trapper. Трапперы используются для приема данных которые пушатся из вне,
а не собираются самим zabbix'ом.
### getting data in zabbix
You should create item with type **zabbix trapper**. Trappers it's special item type for receive pushed data.

0 comments on commit a227e88

Please sign in to comment.