PHP 8.5.2
Preview: fail2ban Size: 403 B
//etc/monit/monitrc.d/fail2ban

check process fail2ban with pidfile /var/run/fail2ban/fail2ban.pid
    group services
    start program = "/etc/init.d/fail2ban force-start"
    stop  program = "/etc/init.d/fail2ban stop"
    if failed unixsocket /var/run/fail2ban/fail2ban.sock then restart
    if 5 restarts within 5 cycles then timeout

check file fail2ban_log with path /var/log/fail2ban.log
    if match "ERROR|WARNING" then alert

Directory Contents

Dirs: 0 × Files: 1

Name Size Perms Modified Actions
403 B lrw-r--r-- 2024-06-10 21:27:45
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).