What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

RTRMON RTRMON v2.1.5 -Apr 12, 2025- Monitor your Router's Health (New: AMTM, Network Conn/Bandwidth/Diag + Port Scanner + Speedtest)

Not that I'd personally be comfortable running a router with 384.13_10, but this definitely attests to how universal @Viktor Jaep's RTRMON script is!
Unintended side-effects... I promise you it was not by design. :p
 
Well, it appears to for 384., 386., 3004.388., and 3006.102.
I mean, yeah... I worked SUPER hard ensuring compatibility across the spectrum of firmwares... literally nights and weekends, uphill both ways in the snow if you catch my drift. If you rename the "rtrmon.sh" script to "rtrmon.exe", it will even work on Windows machines, or so I'm told. LOL
 
Receiving an error when type "rt" in AMTM. Any idea what's going on?

rtrmon.jpg
 
Receiving an error when type "rt" in AMTM. Any idea what's going on?

View attachment 63206
Doesn't look like it exists on your router. You can always drop to a prompt, and see if you can find the "rtrmon.sh" file sitting under /jffs/scripts?
 
Huge thanks to @ExtremeFiretop for his contribution to RTRMON on this one. Some small but significant changes to the way client names are looked up when using MLO on your fancy WiFi 7's. ;) It's been a while since I've smashed all the commit buttons right on github to get that new release out there, so here goes!

What's new?
v2.1.5 - (April 12, 2025)
- PATCH:
Thanks to @ExtremeFiretop for providing a fix for the way RTRMON looks up client name based on the MAC address used for association, as it might not find the correct hostname if the DHCP lease is associated with the MLD MAC. This was based on RMerlin's note here: https://www.snbforums.com/threads/even-when-not-using-mlo-it-still-changes-some-stuff.94070/

Download link (or update directly within AMTM):
Code:
curl --retry 3 "https://raw.githubusercontent.com/ViktorJp/RTRMON/master/rtrmon.sh" -o "/jffs/scripts/rtrmon.sh" && chmod 755 "/jffs/scripts/rtrmon.sh"
 
Page 6 showing current connections/bandwidth for your WAN, LAN and VPN Connections:

View attachment 59145


And Page 7 provides you with all the current connection information as clients connected to your Wi-Fi networks, LAN, VLANs, AiMesh nodes, etc. will be displayed here.

View attachment 62692

How is this script supposed to run?​

I would recommend running this script in its own SSH window from a PC that's connected directly to the Asus router, or from a utility like 'Screen', as it loops and checks the various stats every 10 seconds. Instructions:
  1. Download and install directly from AMTM, or using your favorite SSH tools, copy & paste this command:
    Code:
    curl --retry 3 "https://raw.githubusercontent.com/ViktorJp/RTRMON/master/rtrmon.sh" -o "/jffs/scripts/rtrmon.sh" && chmod 755 "/jffs/scripts/rtrmon.sh"

  2. Configure it using this command:
    Code:
    sh /jffs/scripts/rtrmon.sh -setup

  3. Run it standalone in an SSH window with this command:
    Code:
    sh /jffs/scripts/rtrmon.sh -monitor

  4. Or, using the screen utility, which has now been built-in:
    Code:
    sh /jffs/scripts/rtrmon.sh -screen

  5. To make it even easier, simply execute the script name with the commandline switch, like so:
    Code:
    rtrmon -screen
    -or-
    rtrmon -monitor
    -or-
    rtrmon -setup
    etc...
Please note: in order to use the shortcut method as explained in step 5, you will need to log out of your SSH session completely/close it, then re-open it and log back in. Then you can use the command "rtrmon" from any subfolder location.

Do I need to configure anything?​

You can enter the setup screen with the command 'sh rtrmon.sh -setup' or by hitting the "M" key in the main UI:
View attachment 59146

Hitting the "1" option, there are currently 13 items you can configure (you can also access this screen by using 'sh rtrmon.sh -config'):
View attachment 59147

The really important ones probably are your max speeds... as those will differ from router to router, home to home, location to location. Each menu item has detailed explanations on what each one means. If you have any further questions, please feel free to post in the thread below.

I'm definitely looking for your feedback... what works, what doesn't... what else would you like to see. But all-in-all, as good ideas come up for things to possibly add, very much a WIP (work-in-progress).
Very nice. One interesting output feature is the way that Ethernet connected devices that are on the same VLAN subnet as a guest network display.

Thank you for your continuing work on this utility.
 

Attachments

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top