https://github.com/flant/alertreceiver
https://github.com/flant/alertreceiver
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/flant/alertreceiver
- Owner: flant
- Created: 2025-12-26T10:16:47.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-12-29T14:40:59.000Z (7 months ago)
- Last Synced: 2026-01-06T14:29:01.942Z (7 months ago)
- Language: Go
- Size: 22.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# alertreceiver
можно использовать для пересылки из обычного алертменджера в madison
```
global:
resolve_timeout: 5m
inhibit_rules:
- equal:
- namespace
- alertname
source_matchers:
- severity = critical
target_matchers:
- severity =~ warning|info
- equal:
- namespace
- alertname
source_matchers:
- severity = warning
target_matchers:
- severity = info
- equal:
- namespace
source_matchers:
- alertname = InfoInhibitor
target_matchers:
- severity = info
receivers:
- name: madison
webhook_configs:
- send_resolved: true
url: http://alertreceiver:8080/prometheus
route:
group_by:
- namespace
group_interval: 5m
group_wait: 30s
receiver: madison
repeat_interval: 12h
routes:
- matchers:
- severity = critical
receiver: 'madison'
templates:
- /etc/alertmanager/config/*.tmpl
```