Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 1.93 KB

README.md

File metadata and controls

46 lines (34 loc) · 1.93 KB

zabbix-sender-http

Tool for receive events over http and pass to zabbix. zabbix-sender over http. zabbix-sender-http does not depend on the zabbix_sender tool and fully implements its interface.

build release

platform builds:

windows_x64_build

linux_build

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"]

    curl localhost:8080?server=HOST_NAME&key=ITEM&value=MYVAL
example run on docker
    docker run --name zabbix-sender-http -d \
    -p 3001:8080 \
    -e ZABBIX_SERVER="zabbix-server-pgsql" \
    --restart always \
    --network postgres_network \
    ghcr.io/0xdeface/zabbix-sender:latest

launch parameters

The table bellow shows possible launch parameters and their priority.

Highest priority Middle priority Lowest priority Description
Cmd arguments Env variables Predefined values
--zabbix-server ZABBIX_SERVER 127.0.0.1 set zabbix server address
--zabbix-port ZABBIX_PORT 10051 set zabbix server port
--http-port HTTP_PORT 8080 http server port

getting data in zabbix

You should create item with type zabbix trapper. Trappers it's special item type for receive pushed data.