This project provides several Perl scripts that can be run to interrogate and record statistics from a variety of broadband routers including the BT Home Hub 3, Trust 445a and Netgear DGN2000.
Best run periodically. I run it every 15 minutes on a clock queue (cron).
The BT Home Hub 3 script "get_status_home_hub" does not work with the type B hub. BT have improved it, the pages are named and the stats are formatted using javascript.