Sign inSign up

avides/alertmanager-overview

By avides

•Updated over 4 years ago

Alertmanager-Overview is a simple page which lists all active alerts with auto refresh.

Image
0

1.0K

avides/alertmanager-overview repository overview

⁠alertmanager-overview

Docker Pulls

Alertmanager-Overview is a simple Alertmanager⁠ overview page which lists all active alerts with auto refresh. It will also display different styles for active (with background color red) and silenced (with background color grey) alerts.

The current version of Alertmanager-Overview is designed for two Alertmanagers running: one for production environment and one for test environment. The URLs are set by the environment variables PRODUCTION_URL and TEST_URL. Allowed URLs may not contain the symbol ;.

⁠Requirements

  • Docker
  • Alertmanager for production environment
  • Alertmanager for test environment

⁠Usage

Set up your variables in the placeholder and run the following command on your docker server:

docker run \
-d \
--name=alertmanager-overview \
-e PRODUCTION_URL=http://my-alertmanager-for-production.example.com \
-e TEST_URL=http://my-alertmanager-for-test.example.com \
-p 80:80 \
avides/alertmanager-overview:latest
⁠Build & Test

The following commands are useful if you want to run the code locally.

docker build -t alertmanager-overview-dev .

docker run \
-d \
--name=alertmanager-overview \
-e PRODUCTION_URL=http://my-alertmanager-for-production.example.com \
-e TEST_URL=http://my-alertmanager-for-test.example.com \
-p 80:80 \
alertmanager-overview-dev

docker logs -f alertmanager-overview

docker exec -it alertmanager-overview /bin/sh

Tag summary

Content type

Image

Digest

Size

6.7 MB

Last updated

over 4 years ago

docker pull avides/alertmanager-overview