Short bio: Computer Scientist, FOSS supporter (read more)
Tux Machines (TM)-specific
Using ntop, iftop and apachetop to Monitor Traffic on Ubuntu
Not monitoring your server's network traffic is the equivalent of driving a car with your eyes closed. You must at all times be aware of your server's traffic. Just checking the logs is simply not enough. The tools that I will show you today generate traffic statistics, and show traffic usage in realtime. Statistics that would be hard for you to obtain otherwise. For a secure server, using such tools is mandatory.
Ntop is a top-like application with a web frontend, designed to monitor network activity and generate reports on the console or via your web browser.
Installing Ntop on Ubuntu 8.04.1 Server
Article and code continues at: