Skip to content

shdubna/zabbix_exporter

Repository files navigation

Zabbix Server Exporter for Prometheus

Go Report Card GitHub CodeQL GitHub Release GitHub license GitHub tag

This is a simple server that periodically scrapes Zabbix server/proxy stats and exports them via HTTP for Prometheus consumption.

How to use

  1. Configure zabbix server/proxy to allow export internal stats:
    • add options StatsAllowedIP to configuration of server/proxy;
    • add environment var ZBX_STATSALLOWEDIP if you use official docker image;
  2. Download zabbix_exporter from release page or use docker image.
  3. Run zabbix exporter:
    • via binary
    ./zabbix_exporter --zabbix_addr <address of zabbix server/proxy>  --zabbix_port <port of zabbix server>
    • or via docker image:
    docker run -d -p 9051:9051 ghcr.io/shdubna/zabbix_exporter:latest --zabbix_addr <address of zabbix server/proxy>  --zabbix_port <port of zabbix server>
  4. Check metrics via /metrics endpoint.

About

Exporter to monitor zabbix-server/proxy by prometheus

Resources

License

Stars

Watchers

Forks

Packages