Giter VIP home page Giter VIP logo

zabbix-alertmanager's Introduction

zabbix-alertmanager

zabbix-alertmanager

Build Status Go Report Card Docker Repository on Quay

Fully automated Zabbix and Prometheus Alertmanager integration.

Tutorials

Introducing ZAL - Zabbix Alertmanager Integration

Setting Up Zabbix Alertmanager integration

Running Zabbix Alertmanager integration

Deployment

Checkout kubernetes-manifests.yaml for deployment in Kubernetes.

Releases page for binaries.

grafana.json for Grafana dashboard.

alerts.yaml for Prometheus alerts.

General Info

Project consists of 2 components:

1. zal send

zal send command, which listens for Alert requests from Alertmanager and sends them to Zabbix.

Run zal send --help to see possible options. Consult Setting Up Zabbix Alertmanager integration for step by step tutorial.

2. zal prov

zal prov command, which reads Prometheus Alerting rules and converts them into Zabbix Triggers.

Run the zal prov --help to get the instructions.

Usage

usage: zal [<flags>] <command> [<args> ...]

Zabbix and Prometheus integration.

Flags:
  -h, --help             Show context-sensitive help (also try --help-long and --help-man).
      --version          Show application version.
      --log.level=info   Log level.
      --log.format=text  Log format.

Commands:
  help [<command>...]
    Show help.

  send --zabbix-addr=ZABBIX-ADDR [<flags>]
    Listens for Alert requests from Alertmanager and sends them to Zabbix.

  prov --config-path=CONFIG-PATH --user=USER --password=PASSWORD [<flags>]
    Reads Prometheus Alerting rules and converts them into Zabbix Triggers.

Zal send

usage: zal send --zabbix-addr=ZABBIX-ADDR [<flags>]

Listens for Alert requests from Alertmanager and sends them to Zabbix.

Flags:
  -h, --help                     Show context-sensitive help (also try --help-long and --help-man).
      --version                  Show application version.
      --log.level=info           Log level.
      --log.format=text          Log format.
      --addr="0.0.0.0:9095"      Server address which will receive alerts from alertmanager.
      --zabbix-addr=ZABBIX-ADDR  Zabbix address.
      --hosts-path=HOSTS-PATH    Path to resolver to host mapping file.
      --key-prefix="prometheus"  Prefix to add to the trapper item key
      --default-host="prometheus"
                                 default host to send alerts to

Zal prov

usage: zal prov --config-path=CONFIG-PATH --user=USER --password=PASSWORD [<flags>]

Reads Prometheus Alerting rules and converts them into Zabbix Triggers.

Flags:
  -h, --help                     Show context-sensitive help (also try --help-long and --help-man).
      --version                  Show application version.
      --log.level=info           Log level.
      --log.format=text          Log format.
      --config-path=CONFIG-PATH  Path to provisioner hosts config file.
      --user=USER                Zabbix json rpc user.
      --password=PASSWORD        Zabbix json rpc password.
      --url="http://127.0.0.1/zabbix/api_jsonrpc.php"
                                 Zabbix json rpc url.
      --key-prefix="prometheus"  Prefix to add to the trapper item key.
      --prometheus-url=""        Prometheus URL.

zabbix-alertmanager's People

Contributors

devopsjonas avatar edasl avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.