Prometheus alertmanager

From wikinotes
Revision as of 03:26, 18 February 2022 by Will (talk | contribs) (Created page with "Alertmanager is the official service prometheus communicates with to issue alerts. = Documentation = <blockquote> {| class="wikitable" |- | |- |} </blockquote><!-- Documentat...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Alertmanager is the official service prometheus communicates with to issue alerts.

Documentation

Locations

9093 default port that receives alerts

Install

pkg install alertmanager  # FreeBSD
pacman -S alertmanager    # Archlinux

You'll also need to enable/start the service.

Configuration

AlertManager

Prometheus

# /usr/local/etc/prometheus.yml

alerting:
  alertmanagers:
    - static_configs:
      - targets: ['localhost:9093']