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

Issue while integrating Alerta with alertmanager #1

Open
MobinAnsari opened this issue Apr 26, 2018 · 0 comments
Open

Issue while integrating Alerta with alertmanager #1

MobinAnsari opened this issue Apr 26, 2018 · 0 comments

Comments

@MobinAnsari
Copy link

Hi Ramshankar,

I have installed alerta using your playbook. uwsgi service is running but getting below error in logs:

2018-04-26 18:25:49,412 - alerta.plugins[22901]: ERROR - Server plugin 'customtimeout' could not be loaded: cannot import name app [in /usr/lib/python2.7/site-packages/alerta/utils/plugin.py:33]

Further, We are using one different server for Prometheus(Working on Port 9200) and one different server for Alertmanager(Working on Port 8080) and one seperate server for Alerta.

I have tried to integrate Alerta with Alertmanager.
Modify the alerta configuration ( /etc/alertad.conf )
Added the alertmanager end point
ALERTMANAGER_API_URL = 'http://172.26.14.6:8080'

I have created the Alerta API key and added the same in alertmanager.yml file.

receivers:
- name: 'default-notifier'
webhook_configs:
- url: 'http://10.157.9.166:80/api/webhooks/prometheus?api-key=GHPosk54asfkjkhfA51IOli'
send_resolved: true

But I am little bit confused what I have to write in place of localhost and port(8080) that is defined in url section.
As per my understanding, I have added IP address of my Alerta Server and Port 80 but no data is coming in Alerta Dashboard.

http://10.157.9.166/#/alerts?status=open&status=unknown

Could you please help me to sort out the issue ?

regards,
Mobin Ansari

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

1 participant