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

Information to add Fail2ban Alert to Alerta with alerta = Docker-compose #387

Open
barto95100 opened this issue Oct 11, 2022 · 3 comments
Open

Comments

@barto95100
Copy link

Hi thank's for your work

How i configure the alerta/Fail2ban when Alerta is installed in docker-compose ?

I don't understand...

Thank's for your help

@xpufx
Copy link

xpufx commented Oct 2, 2023

@barto95100 As far as I can understand. You have to list the plugin name in the docker compose file. Then mount a custom alertad.conf to /etc/alertad.conf inside the container and put your plugin configurations there. Format is simple KEY='value'. This same applies to every configuration option that is not listed in docs.alerta.io which lists the supported environment variables.

@davidusken
Copy link

davidusken commented Jan 31, 2024

To install the Fail2ban webhook check these instructions: https://github.com/alerta/docker-alerta/tree/master/examples/webhook

On restart, Alerta will automatically detect this webhook and you can then configure your Fail2ban instances to send to Alerta.

Edit: Or to build the image as a part of the compose check this: https://docs.alerta.io/gettingstarted/tutorial-10-docker.html#step-4-install-additional-plugins-or-webhooks

@barto95100
Copy link
Author

Thank's for your reply I test and send feedback :)

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

3 participants