Security software and logging systems for each service. SSH has a simple text log you can examine and count fails. If you need to handle ssh in linux fail2ban is your friend.
Some logging systems have nice graphical interfaces and they will show you fails in nice graphs.