add fail2ban report
This commit is contained in:
5
check.sh
5
check.sh
@@ -44,3 +44,8 @@ echo -ne "\n\########## LOG Warnings ##########\n"
|
|||||||
|
|
||||||
journalctl --priority warning --no-pager --since "1 month ago"
|
journalctl --priority warning --no-pager --since "1 month ago"
|
||||||
|
|
||||||
|
|
||||||
|
echo -ne "\n\########## fail2ban ##########\n"
|
||||||
|
|
||||||
|
test -x /usr/bin/fail2ban-client && fail2ban-client status sshd
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user