-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alertmanager giving POST Error #38
Comments
Server misbehaving (as seen in the screenshot) is a DNS error and so not
related to this
…On Mon, 19 Dec 2022, 09:01 OxHimanshu, ***@***.***> wrote:
[image: Screenshot 2022-12-19 at 1 31 16 PM]
<https://user-images.githubusercontent.com/61224737/208376134-ede9de29-2c23-4b3c-acc0-ba77edae01a4.png>
While Curl localhost:9094 giving empty reply from server
—
Reply to this email directly, view it on GitHub
<#38 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALPK4R6UPNTMQCZYWEVS4DWOAI7NANCNFSM6AAAAAATDB42FA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
When I changed url: 'http://nifty_gagarin:9094' ----> url: 'http://localhost:9094' then also same error |
Hey @benjojo, facing the issue again and again |
What are the logs from the alertmanager-discord itself?
…On Tue, 27 Dec 2022, 10:24 OxHimanshu, ***@***.***> wrote:
Hey @benjojo <https://github.com/benjojo>, facing the issue again and
again
[image: Screenshot 2022-12-27 at 2 54 28 PM]
<https://user-images.githubusercontent.com/61224737/209644407-bd769b78-ea3e-4c86-ba83-342fe0d0dfd6.png>
—
Reply to this email directly, view it on GitHub
<#38 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALPK4RL7MFP4SVL5VF5CP3WPKYWRANCNFSM6AAAAAATDB42FA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Ah. So alertmanager-discord is running in docker but alertmanager is not.
You should consider using upgrading your alertmanager version and using the
new built in discord feature.
prometheus/alertmanager#2948
Should be in 0.25
…On Tue, 27 Dec 2022, 10:28 OxHimanshu, ***@***.***> wrote:
[image: Screenshot 2022-12-27 at 2 58 14 PM]
<https://user-images.githubusercontent.com/61224737/209644941-800e79b3-d1ee-429c-b0b7-50a14cfbe113.png>
—
Reply to this email directly, view it on GitHub
<#38 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALPK4QWVSD4VPGIR25SIF3WPKZEDANCNFSM6AAAAAATDB42FA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Getting the same error even after upgrading the alertmanager to 0.25 |
No as in, with Alert Manager v0.25, there is discord support built in, no
need for alertmanager-discord!
…On Tue, Dec 27, 2022 at 10:51 AM OxHimanshu ***@***.***> wrote:
Getting the same error even after upgrading the alertmanager to 0.25
@benjojo <https://github.com/benjojo>
[image: Screenshot 2022-12-27 at 3 20 15 PM]
<https://user-images.githubusercontent.com/61224737/209648088-f9f916b9-e2b0-4956-9aa1-70225fd36742.png>
[image: Screenshot 2022-12-27 at 3 21 03 PM]
<https://user-images.githubusercontent.com/61224737/209648200-8c8856c9-15d1-41fb-a8f7-3aadc2011ca1.png>
—
Reply to this email directly, view it on GitHub
<#38 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALPK4TPJ2HFKH2LCY4ZURLWPK33NANCNFSM6AAAAAATDB42FA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
fixed. Thanks a lot @benjojo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
alertmanager.yml
global:
resolve_timeout: 5m
route:
group_by: ['instance', 'severity']
group_wait: 30s
group_interval: 5m
repeat_interval: 30m
receiver: 'discord_webhook'
routes:
- matchers:
- instance =~ "x.x.x.x:5054|x.x.x.x:6060"
group_wait: 30s
receiver: 'discord_webhook'
continue: true
receivers:
webhook_configs:
send_resolved: true
The text was updated successfully, but these errors were encountered: