Warning: Undefined array key "HTTP_X_FORWARDED_PROTO" in /var/www/spa/wp-config.php on line 24
Monitoring – Security Performance Architecture https://www.securityperformancearchitecture.co.uk Mon, 22 Mar 2021 13:02:41 +0000 en-US hourly 1 https://wordpress.org/?v=6.9.4 https://www.securityperformancearchitecture.co.uk/wp-content/uploads/2018/06/cropped-favicon-1-192x192_dd7056e93dc7dfe9a63610e24a36e689-50x50.png Monitoring – Security Performance Architecture https://www.securityperformancearchitecture.co.uk 32 32 BT SmartHub 2 Monitoring and Statistics https://www.securityperformancearchitecture.co.uk/bt-smarthub-2-monitoring-and-statistics/ https://www.securityperformancearchitecture.co.uk/bt-smarthub-2-monitoring-and-statistics/#respond Mon, 22 Mar 2021 13:02:40 +0000 https://www.securityperformancearchitecture.co.uk/?p=315 Ever wondered why your super fast broadband isn’t living up to the promise?
Got a shiny new BT SmartHub2 connected to a fibre service, but can’t really tell what’s using it?
Poor Wi-Fi connection stopping you unleashing the full potential?

We have the solution, with our network monitoring and analytics apps available on the Apple Store:

https://apps.apple.com/gb/app/my-broadband-stats/id1551544602

After a quick setup period, our app will collect statistics from your router, and provide you with a set of rich intuitive graphs that tell you everything you need to know about what’s using your home network.

We are currently offering a free trial to our already value for money subscriptions to let you see the full potential at no cost to yourself. So why not give it a go today.

]]>
https://www.securityperformancearchitecture.co.uk/bt-smarthub-2-monitoring-and-statistics/feed/ 0
Monitoring TalkTalk Router Bandwidth https://www.securityperformancearchitecture.co.uk/monitoring-talktalk-router-bandwidth/ https://www.securityperformancearchitecture.co.uk/monitoring-talktalk-router-bandwidth/#respond Wed, 13 Apr 2016 17:23:15 +0000 https://www.securityperformancearchitecture.co.uk/?p=79 Having treated myself to a 4K TV recently, and the fact there is _some_ 4K or UHD content available through Amazon Prime and Netflix I wondered what the actual bandwidth requirements of streaming this kind of stuff down are.

No problem, I’ll just sling up the excellent MRTG and find out I thought.

Oh no, it’s not that easy. I have an FTTC service provided by TalkTalk. The VDSL modem/router is a “Super Router” also known as the Huawei HG633. Running firmware v1.15t it has neither SNMP nor telnet/SSH or any other kind of CLI access. Bit of a dead end really. Still not to worry, I only use the HG633 to terminate the VDSL, it has an Ethernet uplink to an Apple AirPort Extreme that provides Wi-Fi for the house and a couple of gigabit connected wired devices (thanks TalkTalk for providing me with an 80/20 Mbps WAN product and only 100Mbps LAN side). Apple however have also removed SNMP capability from the AirPort range. *GRR*. Now the obvious solution is to get a proper modem/router/access point but these things are sent to challenge us. The HG633 has a tolerable web admin interface, which does expose some statistics, so we can surely yank those out with a bit of patience.

Turns our it is all JavaScript based in the HG633, but no worries, the excellent PhantomJS to the rescue. Lurking on the home LAN is a Raspberry PI Model 3, which proves to be more than up to the task of driving this headless JavaScript engine. After I little bit of tinkering I was able to generate a PhantomJS script which would login to the router, navigate to the appropriate page, and then dump the DOM out. Judicious use of text parsing results in getting the required information out of the admin gui, and which point it’s trivial to feed it to MRTG.

The results can be seen at http://mattfoster.noip.me/mrtg/

The code is ugly, doesn’t really cope with error conditions all that well, and is heavily dependent on some of the DOM structure in the router’s management page which will doubtless get screwed the next time TalkTalk pushes down a firmware update. Still perhaps the next firmware update will re-enable the CLI.

When there is a will, there is a way even if it is a slightly stupid one, which certainly fails to deal with asynchronous requests properly or even work all the time.

I hesitate to even publish the code, but as it was an annoying enough problem to “solve” the PhantomJS script is available router.js.txt And the horrible bash script called by MRTG mrtg-router.sh.txt

UPDATE FOR 1.18t

Since the Huawei HG633 was updated to firmware 1.18t the scripts broke (no surprise really, given the lack of API and HTML scraping. The updated JS script is available router-1.18t.js.txt now.

]]>
https://www.securityperformancearchitecture.co.uk/monitoring-talktalk-router-bandwidth/feed/ 0