Skip to content

Commit

Permalink
Add grafana dasbhoard
Browse files Browse the repository at this point in the history
  • Loading branch information
devopsjonas committed Mar 31, 2019
1 parent 37cb5c3 commit 7150d79
Show file tree
Hide file tree
Showing 2 changed files with 878 additions and 1 deletion.
76 changes: 75 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,16 @@ Fully automated [Zabbix](https://www.zabbix.com/) and [Prometheus Alertmanager](
[Running Zabbix Alertmanager integration](http://devopy.io/)


## Deployment

Checkout [kubernetes-manifests.yaml](https://github.com/devopyio/zabbix-alertmanager/blob/master/kubernetes-manifest.yaml) for deployment in Kubernetes.

Releases page for binaries [Releases](https://github.com/devopyio/zabbix-alertmanager/releases).

Grafana dashboard is available in [grafana.json](https://github.com/devopyio/zabbix-alertmanager/blob/master/grafana.json).

## General Info

Project consists of 2 components:

## 1. zal send
Expand All @@ -30,4 +40,68 @@ Run `zal send --help` to see possible options. Consult [Setting Up Zabbix Alertm
`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.
```
Loading

0 comments on commit 7150d79

Please sign in to comment.