pushover_alertmanager

Integrate Alertmanager with Pushover for instant alert notifications. Configure custom titles and messages for effective monitoring. Free and easy setup.

Alertmanager Pushover Integration

This document shows how to integrate Alertmanager with Pushover for sending notifications.

Pushover Configuration for Alertmanager

The following YAML configuration demonstrates how to set up Pushover notifications within your Alertmanager configuration.

global:
  resolve_timeout: 5m

route:
  group_by: ['alertname', 'cluster', 'job', 'env']
  repeat_interval: 24h
  group_interval: 5m
  receiver: 'default'

receivers:
  - name: 'default'
    pushover_configs:
      - token: x
        user_key: x
        title: '{{ if eq .Status "firing" }}ALARM{{ else }}OK{{ end }} [{{ .Status | toUpper }}] {{ .CommonAnnotations.summary }}'
        message: '{{ template "pushover.default.message" . }}'
        url: '{{ template "pushover.default.url" . }}'
        priority: '{{ if eq .Status "firing" }}2{{ else }}0{{ end }}'

Understanding the Configuration

Global Settings

The global section defines the overall Alertmanager settings.

Routing Configuration

The route section specifies how alerts are grouped and routed to receivers.

Receiver Definitions

The receivers section defines the notification methods. Here, we use Pushover.

Pushover-Specific Settings

The pushover_configs section contains the specific settings for Pushover, including the API token, user key, title, message, URL, and priority.

Remember to replace x with your actual Pushover API token and user key.

Additional Resources