Comments (10)
from alertmanager-discord.
Here is config file
global:
resolve_timeout: 1m
route:
group_wait: 10s
group_interval: 1m
repeat_interval: 30m
receiver: 'discord'
receivers:
- name: 'discord'
webhook_configs:
- url: 'http://localhost:9094'
from alertmanager-discord.
Do you have health/readiness checks enabled for the container by any chance? It might be having issues with those.
from alertmanager-discord.
No, I tried to run using simple docker-compose and Docker Swarm, result the same.
from alertmanager-discord.
@sfoxdev Please pull :latest
and reproduce the issue, then report back the output?
from alertmanager-discord.
@sfoxdev have you had a moment to try this?
from alertmanager-discord.
@benjojo I updated container to latest and on alert in logs I getting such message, but doesn't receive alert in Discord.
2021/02/27 21:17:37 alertmanager-discord:9094 - [POST]
2021/02/27 21:17:37 Failed to unpack inbound alert request - [{"labels":{"alertname":"messaging_srv","container_label_com_docker_swarm_service_name":"messaging_srv","monitor":"exporter-metrics","server":"MESSAGING","severity":"critical"},"annotations":{"description":"Messaging SRV container is down for more than 10 seconds.","summary":"MESSAGING: API down"},"startsAt":"2021-02-27T21:02:22.036737213Z","endsAt":"2021-02-27T21:02:37.036737213Z","generatorURL":"http://65f20cc80261:9090/graph?g0.expr=absent%28container_memory_usage_bytes%7Bcontainer_label_com_docker_swarm_service_name%3D%22messaging_srv%22%2Cserver%3D%22MESSAGING%22%7D%29\u0026g0.tab=1"}]
from alertmanager-discord.
Interesting, Your alertmanager is ending them as an array of webhooks rather than a singular, Must be a new thing, let me investigate
from alertmanager-discord.
Nope. You have misconfigured this, You need alertmanager as well as alertmanager-discord.
The dataflow should be:
Prometheus -> Alertmanager -> Alertmanager-discord
You have:
Prometheus -> Alertmanager-discord
I'll build in protection for this now, since it keeps happening
from alertmanager-discord.
When this happens now, This following will appear:
from alertmanager-discord.
Related Issues (20)
- Change ListenAddress HOT 9
- webhook 9094 port: trouble with binding HOT 5
- prometheus cannot make post request to alertmanager HOT 1
- alertmanager cannot connect to this container
- Alert without annotation "description" doesn't send to discord without throwing errors HOT 4
- Documentation - installation HOT 4
- Bot doesn't post anything into discord channel HOT 1
- Is there a health check endpoint or a function test? HOT 1
- Upstream this HOT 8
- If the port cannot be bound, the program should fail HOT 1
- Failed to unpack inbound alert request HOT 4
- Please add a license HOT 2
- Discord messages are empty HOT 11
- Title emoji HOT 1
- Autobuild on release tag
- Account for discord Webhook IDs with length 19 HOT 7
- Alerts doesn't send to discord HOT 1
- Alertmanager giving POST Error HOT 10
- lertmanager with helm kube-prometheus-stack HOT 1
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-discord.