Security monitoring
Commands to check for possible attacks on web servers (Linux) - This is setup and working for 1and1 cloud box (cloud.ianculovici.com).
[root@cloud ~]# cat log.sh
#!/bin/sh
set -x
tail -20 /var/log/httpd/access_log
tail -20 /var/log/audit/audit.log
tail -20 /var/log/fail2ban.log
journalctl -u sshd | tail -20
journalctl -u sshd | egrep "Failed|Failure" | tail -20