Skip to content
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

Closed
OxHimanshu opened this issue Dec 19, 2022 · 10 comments
Closed

Alertmanager giving POST Error #38

OxHimanshu opened this issue Dec 19, 2022 · 10 comments

Comments

@OxHimanshu
Copy link

Screenshot 2022-12-19 at 1 27 19 PM

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
@OxHimanshu
Copy link
Author

Screenshot 2022-12-19 at 1 31 16 PM

While Curl localhost:9094 giving empty reply from server

@benjojo
Copy link
Owner

benjojo commented Dec 19, 2022 via email

@OxHimanshu
Copy link
Author

OxHimanshu commented Dec 19, 2022

When I changed url: 'http://nifty_gagarin:9094' ----> url: 'http://localhost:9094' then also same error
Screenshot 2022-12-19 at 2 13 10 PM

@OxHimanshu
Copy link
Author

OxHimanshu commented Dec 27, 2022

Hey @benjojo, facing the issue again and again
Screenshot 2022-12-27 at 2 55 21 PM

@benjojo
Copy link
Owner

benjojo commented Dec 27, 2022 via email

@OxHimanshu
Copy link
Author

Screenshot 2022-12-27 at 2 58 14 PM

@benjojo
Copy link
Owner

benjojo commented Dec 27, 2022 via email

@OxHimanshu
Copy link
Author

OxHimanshu commented Dec 27, 2022

Getting the same error even after upgrading the alertmanager to 0.25
Restarted the alertmanager.service too
@benjojo

Screenshot 2022-12-27 at 3 20 15 PM

Screenshot 2022-12-27 at 3 21 03 PM

@benjojo
Copy link
Owner

benjojo commented Dec 27, 2022 via email

@OxHimanshu
Copy link
Author

OxHimanshu commented Dec 27, 2022

fixed. Thanks a lot @benjojo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants