Alertmanager giving POST Error
OxHimanshu opened this issue · comments
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:
- name: 'discord_webhook'
webhook_configs:- url: 'http://nifty_gagarin:9094'
send_resolved: true
- url: 'http://nifty_gagarin:9094'
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
Restarted the alertmanager.service too
@benjojo
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