zabbix-alertmanager

module
v1.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2019 License: Apache-2.0

README

zabbix-alertmanager

zabbix-alertmanager

Build Status Go Report Card

Fully automated Zabbix and Prometheus Alertmanager integration.

More information is availbe in blogpost

Project consists of 2 parts:

1. zal send

Sender catches the alerts from Prometheus Alertmanager and pushes them to the Zabbix server by using trapper items.

2. zal prov

The provisioner will load the current Prometheus Alerting rules from a directory and will create hostgroup/host/application/items/triggers in Zabbix if needed.

Howto

First of all you need to launch the zal prov which will create all the required items on Zabbix server and you will be able to automatically push alerts with zal send. Check the config file for the possible parameters:

- name: example_name
  hostGroups:
    - example_group
  tag: example_tag
  deploymentStatus: <number>
  # itemDefault* below, defines item values when not specified in a rule
  itemDefaultApplication: default
  itemDefaultHistory: 5d
  itemDefaultTrends: 5d
  itemDefaultTrapperHosts: # Hosts permitted to send data (your webhook external CIDR, default is from everywhere)

Run the zal prov --help and you will get the instructions.

Directories

Path Synopsis
cmd
zal command
zabbixprovisioner
zabbixsender

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL