I just came across this program written in python to run speedtest minus Gui on Raspberry console. It will run speedtest.net and give you download and upload speed. It would be nice to have a visual reporting under Nagios to spot check internet speed. Since I am not a software developer, I am hoping someone can put together something and incorporate it into NEMS Linux. Here is how to get it from NEMS console.
sudo apt-get install python-pip (I think this is already included in NEMS)
sudo pip install speedtest-cli
sudo speedtest-cli or sudo speedtest-cli --simple
Looking forward to see this happen.
Making WAN speedtest-cli part of the monitoring process
- Robbie Ferguson
- Posting Freak
- Posts: 835
- Joined: Wed Mar 07, 2012 3:23 pm
- Location: Ontario, Canada
- Contact:
RE: Making WAN speedtest-cli part of the monitoring process
NEMS already has speedtest-cli installed since it is used in your benchmarks, so no need to install a second version.
So are you looking for Nagios alerts if your Internet speed falls out of the thresholds, or just being able to see your Internet speed on a graph in NEMS Dashboard (like Monitorix)?
So are you looking for Nagios alerts if your Internet speed falls out of the thresholds, or just being able to see your Internet speed on a graph in NEMS Dashboard (like Monitorix)?
Robbie Ferguson // The Bald Nerd
Did I help you out? Appreciate what I do? Please consider saying thanks:
Did I help you out? Appreciate what I do? Please consider saying thanks:
- Throw something in the tip jar: https://donate.category5.tv
- Support Category5 TV on Patreon: https://patreon.com/category5
- Support NEMS Linux on Patreon: https://patreon.com/nems
RE: Making WAN speedtest-cli part of the monitoring process
Hi Robbie,
Yes. I am looking for Nagios Alerts. I like to see a benchmark of WAN speed every hour. If it falls off certain threshold, I like to be notified. Do you mind telling me where do I configure this? Currently Monitorix is not working. I only have the first screen that tells me to wait for the data to be displayed. My pi has been up for more than 12 hours and I still don't see it. It was working 2 days ago when I first started experimenting with it. I ran the software update from Webmin. I wonder if getting the software update may have broke it.
Joe.
Yes. I am looking for Nagios Alerts. I like to see a benchmark of WAN speed every hour. If it falls off certain threshold, I like to be notified. Do you mind telling me where do I configure this? Currently Monitorix is not working. I only have the first screen that tells me to wait for the data to be displayed. My pi has been up for more than 12 hours and I still don't see it. It was working 2 days ago when I first started experimenting with it. I ran the software update from Webmin. I wonder if getting the software update may have broke it.
Joe.
- Robbie Ferguson
- Posting Freak
- Posts: 835
- Joined: Wed Mar 07, 2012 3:23 pm
- Location: Ontario, Canada
- Contact:
RE: Making WAN speedtest-cli part of the monitoring process
You'll see in the forums that it's not recommended to manually run OS updates. Security patches are applied automatically, but updating other components outside NEMS can break things. Easy to just take your backup.nems, reflash, then restore.
Though if your server has only been online for 12 hours, chances are good that's not long enough for Monitorix. Ie., it can't give you a 1 day graph when 1 day has not passed. Nor can it give you a 1 week graph when it's only been up for 12 hours. Etc.
You cannot simply "add" hourly bandwidth tests -- but as a feature request, I can implement it for you and roll it out in a coming version. If there is already a checkcommand for it, I'll add it to NEMS 1.5. If not, I'll have to write the checkcommand, which means probably 1.6 at this point (we're only a couple weeks away from 1.5 release).
Thanks,
Robbie
Though if your server has only been online for 12 hours, chances are good that's not long enough for Monitorix. Ie., it can't give you a 1 day graph when 1 day has not passed. Nor can it give you a 1 week graph when it's only been up for 12 hours. Etc.
You cannot simply "add" hourly bandwidth tests -- but as a feature request, I can implement it for you and roll it out in a coming version. If there is already a checkcommand for it, I'll add it to NEMS 1.5. If not, I'll have to write the checkcommand, which means probably 1.6 at this point (we're only a couple weeks away from 1.5 release).
Thanks,
Robbie
Robbie Ferguson // The Bald Nerd
Did I help you out? Appreciate what I do? Please consider saying thanks:
Did I help you out? Appreciate what I do? Please consider saying thanks:
- Throw something in the tip jar: https://donate.category5.tv
- Support Category5 TV on Patreon: https://patreon.com/category5
- Support NEMS Linux on Patreon: https://patreon.com/nems
RE: Making WAN speedtest-cli part of the monitoring process
Thank you for considering adding the speedtest feature in the near future. I think your Linux is perfect for small shop monitoring.
- Robbie Ferguson
- Posting Freak
- Posts: 835
- Joined: Wed Mar 07, 2012 3:23 pm
- Location: Ontario, Canada
- Contact:
RE: Making WAN speedtest-cli part of the monitoring process
Thanks! I hope you really enjoy using NEMS Linux!!
Robbie
Robbie
Robbie Ferguson // The Bald Nerd
Did I help you out? Appreciate what I do? Please consider saying thanks:
Did I help you out? Appreciate what I do? Please consider saying thanks:
- Throw something in the tip jar: https://donate.category5.tv
- Support Category5 TV on Patreon: https://patreon.com/category5
- Support NEMS Linux on Patreon: https://patreon.com/nems
- Robbie Ferguson
- Posting Freak
- Posts: 835
- Joined: Wed Mar 07, 2012 3:23 pm
- Location: Ontario, Canada
- Contact:
RE: Making WAN speedtest-cli part of the monitoring process
check_internet_speed has been added to NEMS 1.5
Robbie Ferguson // The Bald Nerd
Did I help you out? Appreciate what I do? Please consider saying thanks:
Did I help you out? Appreciate what I do? Please consider saying thanks:
- Throw something in the tip jar: https://donate.category5.tv
- Support Category5 TV on Patreon: https://patreon.com/category5
- Support NEMS Linux on Patreon: https://patreon.com/nems
RE: Making WAN speedtest-cli part of the monitoring process
When will 1.5 release? I will be looking out for it.
- Robbie Ferguson
- Posting Freak
- Posts: 835
- Joined: Wed Mar 07, 2012 3:23 pm
- Location: Ontario, Canada
- Contact:
RE: Making WAN speedtest-cli part of the monitoring process
It is about to enter Beta (this week) which Patrons can participate in. I've been aiming to have it out Q4 2018 but it might be very early Q1 2019 (ie., mid-January) before it sees public release. I'm purposefully not committing to a firm date this release as my goal is to release a very complete and well-tested system.... plus NEMS 1.5 has a LOT of porting to be done. More SBCs will be supported than with 1.4.1.
Robbie Ferguson // The Bald Nerd
Did I help you out? Appreciate what I do? Please consider saying thanks:
Did I help you out? Appreciate what I do? Please consider saying thanks:
- Throw something in the tip jar: https://donate.category5.tv
- Support Category5 TV on Patreon: https://patreon.com/category5
- Support NEMS Linux on Patreon: https://patreon.com/nems