Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,295,946
Community Members
 
Community Events
165
Community Groups

Can't authenticate through AlertManager / Prometheus

Hello Im trying to set up the integration with OpsGenie through AlertManager / Prometheus. I followed several examples on the web for configuration, but errors logs say "Authentication Failed" Is there anything else I need to add to Alertmanager Config?

unexpected status code 401: {\"message\":\"Could not authenticate\",

Here is a sample of my alertmanager config file



 

global:
opsgenie_api_key: XXX
opsgenie_api_url: 'https://api.opsgenie.com/'
route:
group_by: ['alertname', 'cluster', 'service']
group_wait: 30s
group_interval: 5m
repeat_interval: 3h
receiver: opsgenie
routes:
- match:
receiver: opsgenie
receivers:
- name: 'opsgenie'
opsgenie_configs:
- send_resolved: true
http_config: {}
api_key: XXX
api_url: https://api.opsgenie.com
responders:
- name: 'My Team Support'
type: 'team'

1 answer

1 vote
Nick H Atlassian Team Aug 03, 2021

Hi @Tim Davis ,

I believe we spoke yesterday around the same issue, and realized the 401 was due to the wrong API key being used in Alert Manager conf. file.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Jira Service Management

Jira Service Management Documentation Opportunities

Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...

310 views 0 9
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you