Alertmonitor for Prometheus
Monitor Prometheus alerts with Alertmonitor
Alertmonitor is a graphical web interface for displaying alerts from Prometheus monitoring system.
Alerts may be enriched with additional labels to get most info from Alertmonitor. Clear events are automatically correlated with raised alerts to assure up-to-date state of monitored objects.

Alertmonitor is easy to run:
$ docker run -d -p 8080:8080 matjaz99/alertmonitor
Open in browser: http://localhost:8080/alertmonitor

Features
➤ Generic webhook endpoint
➤ Web Graphical User Interface
➤ Processing of Prometheus alerts
➤ Supporting additional labels on alerts
➤ Filtering alerts by tags
➤ Aggregating alerts by targets
➤ Automatic alarm-clear correlation
➤ Active alerts view
➤ Journal of events (history)
➤ Metrics
Alertmonitor is open source
Quick start
To make it work, first you need to configure alert rules in Prometheus and configure receivers in Alertmanager.
Add labels to alert rules:
groups:
- name: my-alerts
  rules:
  - alert: CPU usage
    expr: 100 - (avg(irate(node_cpu_seconds_total{mode="idle"}[1m]) * 100)) > 90
    for: 1m
    labels:
      severity: critical
      priority: low
      info: CPU 1
      tags: hardware, cpu, overload
    annotations:
      description: Node {{ $labels.instance }} CPU usage is at {{ humanize $value}}%.
      summary: CPU alert for Node '{{ $labels.instance }}'
    
Configure alertmanager to send alerts to webhook receiver in alertmonitor:
route:
  receiver: alertmonitor
  group_by: [alertname]
  group_wait: 10s
  group_interval: 5m
  repeat_interval: 3h

receivers:
- name: alertmonitor
  webhook_configs:
  - url: http://alertmonitor:8080/alertmonitor/webhook
    send_resolved: true
    
Find out more on Github
www.matjazcerkvenik.si

Visitors: 797