this post was submitted on 14 Jun 2023
8 points (100.0% liked)

Sysadmin

7721 readers
85 users here now

A community dedicated to the profession of IT Systems Administration

No generic Lemmy issue posts please! Posts about Lemmy belong in one of these communities:
[email protected]
[email protected]
[email protected]
[email protected]

founded 2 years ago
MODERATORS
 

I am looking for a simple tool that I can monitor available bandwidth on my 3 different ISPs in real time. Not what is being used, but what is available...like a speed test, but one that can show historical data. I have PRTG but that shows what is being used. I also do not want it to constant speed tests, that would take up everything I have. I know I could just as easily do a spreadsheet and fill it in. Anyone maybe have a Powershell script that would do this, do a speed test and then fill in results on a spreadsheet?

top 8 comments
sorted by: hot top controversial new old
[–] uin 5 points 1 year ago (1 children)

So you want the available bandwidth to be monitored in “real time”, but you don’t want constant speed tests to happen. Then you mention a script doing a speed test.

You’re gonna have to choose: Either you run some kind of Speedtest on a regular basis, which will give you somewhat “real-time” results, or you don’t do it, and you don’t have real-time data as a result.

A very quick google search brought up this power shell script, that even formats the results for PRTG:

https://github.com/greiginsydney/New-OoklaSpeedTest.ps1

[–] DonnieNarco 1 points 1 year ago (1 children)

Yeah, I am a bit scatter brained today....lol. I am not sure what I want, but I will check out that github and see what I can do with that. Thank you!

[–] pete 1 points 1 year ago (1 children)

So, a speed test can show bandwidth but so can a graph, when you see the flat line, you've hit your limit.

Use interface counter graphs to map out b/s and then you'll be able to see where you're actually maxing out. If you've hit a bandwidth limit on a connection but your graph is still spiky it's not you it's them.

[–] uin 1 points 1 year ago (1 children)

But if he wanted that historical data for, say, making sure an ISP delivers promised bandwidth, then unless he’s constantly maxing out the connection, the usage graph is going to be fairly useless.

[–] pete 3 points 1 year ago (1 children)

Yes, but doing a speed test while you're using the link isn't an accurate test, so it's extremely difficult to be able to show bandwidth issues with anything other than a graph. If the ISP is not giving you your full bandwidth, you'll flatline below the full bandwidth on the graph. If you are using half your link and do a speed test you will only get results for about half your link unless you drop all other traffic to do the speed test.

[–] uin 1 points 1 year ago

Good point. Though without knowing the exact details, it’s hard to make a call on what the best strategy is.

If it was me, and I was trying to contest claims as to available bandwidth, I’d probably still be running a regularly scheduled speed test (if nothing else then at least to regularly saturate the connection), and then talk to the ISP with both the speed test results and the bandwidth graph to show as complete a picture as possible.

[–] Sudo 3 points 1 year ago (1 children)

You can probably do something with EXEXML Advaned sensor in PRTG, I've used this sensor for various PowerShell scripts.

Here is an example: https://greiginsydney.com/new-ooklaspeedtest-ps1/

[–] DonnieNarco 1 points 1 year ago

Thank you, I will check that out.