Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 705 Bytes

AlertManager.md

File metadata and controls

25 lines (22 loc) · 705 Bytes

Input plugin AlertManager

This input plugin grab event from Prometheus Alert Manager.

For enabled this plugin set variable

APP_INPUT_ALERTMANAGER_ENABLED=true

and set AlertManager route config

receivers:
- name: alerta-bot
  webhook_configs:
  - send_resolved: true
    http_config:
      follow_redirects: true
    url: http://link-to-mapper:3000/input/alert-manager/webhook
    max_alerts: 0

Extra vars:

  • APP_INPUT_ALERTMANAGER_ENV - for set environment name in alert(allow prod,stage,test,dev)
  • APP_INPUT_ALERTMANAGER_RESOURCE - any string set global resource name

TODO

  • Add silent hook to Alertmanager