benjojo / alertmanager-discord

Take your alertmanager alerts, into discord
Apache License 2.0
178 stars 78 forks source link

Add listen.address as a CLI parameter and check WebHook #9

Closed FinweVI closed 3 years ago

FinweVI commented 4 years ago

Allow to customize the listening address and port with a CLI parameter.

We are limited to one Discord Webhook per running daemon. With this parameter we can run multiple daemon on differents ports if needed (to send alerts to various Discord Channels).

I also added a REGEX check on the Discord WebHook.

FinweVI commented 4 years ago

Just to let you know, I also created an ansible repo to deploy the daemon: https://github.com/FinweVI/ansible-alertmanager-discord

Not sure if you want to talk about it in the README? For the people who aren't running Docker :p

Note: the ansible setup require this PR to be validated, it uses the new ENV VAR for the LISTEN ADDRESS

BlowaXD commented 3 years ago

Hello, we are using this software on a student project and would love to have this feature, do you think this could be merged soon?

benjojo commented 3 years ago

@BlowaXD Thanks for the reminder, LGTM