Counts logmessages of sshguard blocking IPs and puts them into the aggregation of logwatch.
- Copy or symlink
scripts/services/secure
into/usr/share/logwatch/scripts/services
- Keep the old file as a backup
- Run
logwatch --service secure
--------------------- Connections (secure-log) Begin ------------------------
SSHGuard blocked 3 IP(s).
---------------------- Connections (secure-log) End -------------------------