Alerts when fail2ban stopped

How do i set up alerts when fail2ban stopped/started ?

Thanks

Bump…

Would these potentially work for you?

https://www.linuxquestions.org/questions/linux-newbie-8/bash-script-to-check-if-process-is-running-and-send-email-717595/

fail2ban sends notifications to the "dest = " as defined in

/etc/fail2ban/action.d/sendmail-common.conf

I don’t use the FreePBX fail2ban package but it if you read that file it might clue you up.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.