JGrana
Very Senior Member
I have long wanted @Jack Yaz 's modmon to work with my Arris SB6183 modem. After seeing @Wistuplu bravely jump in and add support for his Technicolor modem I decided to see if I could get stats and logs from my SB6183.
After many seds/greps/awks and wondering how to change a javascript file - I have a reasonable working version of modmon/belmon working with an Arris SURFboard SB6183 modem. It might work with later SB versions (i.e. SB6190) - I don't have one to test. More on that later.
I have tried to keep it as close to modmon as possible. It's pretty much 95% @JackYaz and the rest mine (with support of @Wistuplu ! So, any bugs are likely (no, make that surely) mine ;-)
It is correctly showing Downstream and Upstream power levels and Downstream SNR, Frequency, Symbol Rates, Corrected and Uncorrected counts. It also show the various logs from the modem.
Like modmon, arrismon checks the modem every 30 minutes. I know that @Wistuplu increased it to every 15, but as I was implementing I realized it does quite a bit of string manipulations/calculations, etc.
It is still a work in progress. There are a few minor issues:
1) The logs from the modem are not timestamped. Unlike modmon, the Arris modem results don't timestamp each log - they cluster them. I'm still trying to figure out how to handle this...For now, the time on the logs is the time they were read.
2) For some reason, you might see a chart show up as "No Data To Display". Just select another period (i.e. Last 7 Days) on that chart and it will display. I suspect some timing issue in the .js file.
3) Modmon uses the modem presented "Channel ID". Its pretty much 1 to 1, except for what arrismon calls channel 16, the Arris modem calls it Channel ID 26. So, it's shown as Channel 26.
4) The "Corrected" and "Uncorrected" are shown exactly how Arris presents them. Unfortunately, they are rarely/never reset back to 0. At least in the last few days of debugging. For now, I show what Arris sends. I am considering changing this to show the data by measurement period. In other words, internally reset them to 0 after every read. On my todo.
5) With respect to the Modem logs, I decided to make "Error" and "Critical" logs the default to be shown. You can change that to include "Notice" if you want.
This is working with an Arris SB6183 modem. If you have a newer/faster version and want to give it a try - please do - but no promises. Before you try, you might want to go to this web page and see if you get a pretty Arris web status page:
If so, there is a chance. The SB6183 has 16 upstream and 4 downstream channels. The SB6190 has 32 and 8. There is no limit on the number of channels read - but I don't have a sample read from an SB6190 to see how the html code looks.
If you want to try this, here is the information
Requirements
Requires Entware (therefore attached USB)
Supported firmware versions
You must be running firmware Merlin 384.15/384.13_4 or Fork 43E5 (or later) Asuswrt-Merlin
Installation
Using your preferred SSH client/terminal, copy and paste the following command, then press Enter:
Like many Addons, it will add a new WebUI tab. You can view and changes options there.
For CLI, you can get to the arrismon menu by typing
If that doesn't work, try
As I said, it's the initial release - let me know any issues/bugs and I will do my best.
BTW, I have discussed rolling this into modmon with @Jack Yaz. He is a bit busy right now but will look it over at some point. No promises.
Here are a few sample screen shots:
After many seds/greps/awks and wondering how to change a javascript file - I have a reasonable working version of modmon/belmon working with an Arris SURFboard SB6183 modem. It might work with later SB versions (i.e. SB6190) - I don't have one to test. More on that later.
I have tried to keep it as close to modmon as possible. It's pretty much 95% @JackYaz and the rest mine (with support of @Wistuplu ! So, any bugs are likely (no, make that surely) mine ;-)
It is correctly showing Downstream and Upstream power levels and Downstream SNR, Frequency, Symbol Rates, Corrected and Uncorrected counts. It also show the various logs from the modem.
Like modmon, arrismon checks the modem every 30 minutes. I know that @Wistuplu increased it to every 15, but as I was implementing I realized it does quite a bit of string manipulations/calculations, etc.
It is still a work in progress. There are a few minor issues:
1) The logs from the modem are not timestamped. Unlike modmon, the Arris modem results don't timestamp each log - they cluster them. I'm still trying to figure out how to handle this...For now, the time on the logs is the time they were read.
2) For some reason, you might see a chart show up as "No Data To Display". Just select another period (i.e. Last 7 Days) on that chart and it will display. I suspect some timing issue in the .js file.
3) Modmon uses the modem presented "Channel ID". Its pretty much 1 to 1, except for what arrismon calls channel 16, the Arris modem calls it Channel ID 26. So, it's shown as Channel 26.
4) The "Corrected" and "Uncorrected" are shown exactly how Arris presents them. Unfortunately, they are rarely/never reset back to 0. At least in the last few days of debugging. For now, I show what Arris sends. I am considering changing this to show the data by measurement period. In other words, internally reset them to 0 after every read. On my todo.
5) With respect to the Modem logs, I decided to make "Error" and "Critical" logs the default to be shown. You can change that to include "Notice" if you want.
This is working with an Arris SB6183 modem. If you have a newer/faster version and want to give it a try - please do - but no promises. Before you try, you might want to go to this web page and see if you get a pretty Arris web status page:
If so, there is a chance. The SB6183 has 16 upstream and 4 downstream channels. The SB6190 has 32 and 8. There is no limit on the number of channels read - but I don't have a sample read from an SB6190 to see how the html code looks.
If you want to try this, here is the information
Requirements
Requires Entware (therefore attached USB)
Supported firmware versions
You must be running firmware Merlin 384.15/384.13_4 or Fork 43E5 (or later) Asuswrt-Merlin
Installation
Using your preferred SSH client/terminal, copy and paste the following command, then press Enter:
Code:
/usr/sbin/curl --retry 3 "https://raw.githubusercontent.com/JGrana01/arrismon/master/arrismon.sh" -o "/jffs/scripts/arrismon" && chmod 0755 /jffs/scripts/arrismon && /jffs/scripts/arrismon install
Like many Addons, it will add a new WebUI tab. You can view and changes options there.
For CLI, you can get to the arrismon menu by typing
Code:
arrismon
If that doesn't work, try
Code:
/jffs/scripts/arrismon
As I said, it's the initial release - let me know any issues/bugs and I will do my best.
BTW, I have discussed rolling this into modmon with @Jack Yaz. He is a bit busy right now but will look it over at some point. No promises.
Here are a few sample screen shots: