Comments (4)
How did you made it works
from alertmanager.
In Alertmanager config file, you have to group by alertname AND job, like so :
route:
group_by: ['alertname','job']
group_wait: 30s
group_interval: 5m
repeat_interval: 1h
receiver: 'discord_webhook'
receivers:
- name: 'discord_webhook'
webhook_configs:
- url: 'https://discordapp.com/api/webhooks/1247133913369940038/discordwebhooktoken'
from alertmanager.
are you sure, bec. i did have the same config as you mentioned but didn't work for me
however the solution for me was running 1 more container for the discord integration
for more.
https://github.com/evanugarte/prometheus-monitoring-tutorial
https://github.com/benjojo/alertmanager-discord
discord-alerts:
image: benjojo/alertmanager-discord
container_name: discord-alerts
restart: unless-stopped
environment:
DISCORD_WEBHOOK: <discord_hook>
ports:
- "9094:9094"
from alertmanager.
Honestly, since the problem was resolved, I haven't touched a single config file. Good thing if your solution works!
from alertmanager.
Related Issues (20)
- Microsoft deprecating Teams webhooks, new "Workflows" uses incompatible schema HOT 34
- Feature Request: Enable Sending AdaptiveCards to Webex for Enhanced Alert Notifications
- Feature Request: Google cloud storage module
- Release a feature from a main branch HOT 2
- Inhibition rules evaluation performance on many target alerts HOT 5
- MS Teams alert card does not show info on mobile interface HOT 11
- Decode plus sign ('+') as a space (' ' or '%20') when decoding silence filters
- [Feature Request] Add `visibleTo` field to OpsGenie integration HOT 3
- [feature request] matchers to work with annotations HOT 1
- Feature request: Add group creation time to group_by hash HOT 1
- Multiple vulnerabilities detected (govulncheck)
- Test certificates expiring in <2y
- Feature Request: Consider a Global Restriction on Silence Duration HOT 1
- Incorrect silence queryDuration metric HOT 1
- The gossip function is not working in webhook_configs.
- Add Metric Buckets for Notification Latency HOT 6
- Add docker tags for major/minor/patch versions HOT 3
- SMTP notifier does not await submission completion HOT 2
- Alertmanager sending duplicate notifications after 'resolved' notification when running with multiple replicas
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alertmanager.