jaywink / matrix-alertmanager

A bot to receive Alertmanager webhook events and forward them to chosen rooms.
MIT License
76 stars 21 forks source link

generatorURL - Alert Link #42

Open nbari opened 1 year ago

nbari commented 1 year ago

I can't get the Alert Link to work, any idea how to configure it?, I always get

 http://:9090/graph?g0.expr=up+%3D%3D+0&g0.tab=1

the host is missing.

ryan-summers commented 10 months ago

From my experience, the generatorURL is from the prometheus alert configuration, so this is an issue with how you have prometheus set up. Use the --web.external-url option when starting prometheus to properly configure the generatorURL for prometheus. You'll need to do the same with the alertmanager for link-back URLs to the alert manager as well.