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!

VPNMON VPNMON-R3 v1.7.0 -Sep 20, 2025- Monitor OpenVPN/Wireguard WAN/Dual-WAN Health & Random Reset Multiple Connections (Available in AMTM!) - v1.8.0 Beta4

Perhaps it would be less confusing if under option 14 you removed the word "speed" and replaced it with another term such as "throughput" in both the option and the description of what is being measured. Just my two cents.
Great suggestion! Thanks @CaptainSTX
 
Great suggestion! Thanks @CaptainSTX
Your welcome. Incidentally when VPMON was improved to include monitoring WG VPN clients and it appeared that they were not as rock solid as I once thought they were, and I had to adjust VPMON to minimize the restarts and reduce the email notifications it turns out that the root of the problem was a new modem I put in service at about the same time. With the ISPs modem both my WAN and WG VPN connections are very stable.
 
Your welcome. Incidentally when VPMON was improved to include monitoring WG VPN clients and it appeared that they were not as rock solid as I once thought they were, and I had to adjust VPMON to minimize the restarts and reduce the email notifications it turns out that the root of the problem was a new modem I put in service at about the same time. With the ISPs modem both my WAN and WG VPN connections are very stable.
Man... Now I'm going to have to rip out all that code again! Lol

Nahhh! Glad to hear things are more stable for you with the equipment change! Out of my different WG providers I use, I can definitely tell that Nord has the most problems keeping a clean line going. I'm kinda glad I added the recovery timeouts, because that's really helped it from not reconnecting each time Nord had a hiccup.
 
VPNMON-R3 - v1.8.0b3

While getting things set-up after a router replacement I am seeing a [: bad number% ] next to the timer loop display when it
times out. I am also not seeing any rx/tx on the vpn slots. Should be seeing something on vpn1 slot for sure . Nothing is running thru the WG
slots yet.
 

Attachments

  • Screenshot 2025-10-06 130238.png
    Screenshot 2025-10-06 130238.png
    160.5 KB · Views: 6
VPNMON-R3 - v1.8.0b3

While getting things set-up after a router replacement I am seeing a [: bad number% ] next to the timer loop display when it
times out. I am also not seeing any rx/tx on the vpn slots. Should be seeing something on vpn1 slot for sure . Nothing is running thru the WG
slots yet.
That's definitely odd. Does it show any kind of 60 second counter? Can you show a copy of your .cfg file entries?

If the timer loop isn't even working, then you probably won't see any bandwidth stats. I need to take a look at my code to see if there's a requirement for a slot to be "monitored" before it shows these stats, or not. I will check this evening.
 
That's definitely odd. Does it show any kind of 60 second counter? Can you show a copy of your .cfg file entries?

If the timer loop isn't even working, then you probably won't see any bandwidth stats. I need to take a look at my code to see if there's a requirement for a slot to be "monitored" before it shows these stats, or not. I will check this evening.

@Viktor Jaep

The timer loop displays fine. It's just when it gets to 100% I get that bad number showing.
I have since finished setting up monitoring and it is still there.
 

Attachments

  • Screenshot 2025-10-06 142420.png
    Screenshot 2025-10-06 142420.png
    156.1 KB · Views: 7
  • vpnmon-r3.cfg.txt
    vpnmon-r3.cfg.txt
    818 bytes · Views: 3
@Viktor Jaep

The timer loop displays fine. It's just when it gets to 100% I get that bad number showing.
I have since finished setting up monitoring and it is still there.
Sounds like it might be a calculation issue on my end after the timer is up. I'll dive back into this and double-check everything.
 
VPNMON-R3 - v1.8.0b3

While getting things set-up after a router replacement I am seeing a [: bad number% ] next to the timer loop display when it
times out. I am also not seeing any rx/tx on the vpn slots. Should be seeing something on vpn1 slot for sure . Nothing is running thru the WG
slots yet.
@Viktor Jaep

Disregard my post about not seeing rx/tx data. It is showing fine now. My feeble mind neglected to recall you
had told me this is not that unusual .
 
Beta 4 is out with some fixes with many thanks to @CaptainSTX and @scootertramp!

What's new?
v1.8.0b4 - (October 6, 2025)
- MINOR:
Added more visibility to the main UI, and included both TX and RX stats for each connection. Please know, these stats are basically the average connection speed across the length of the timer. They may not be entirely 100% accurate, and are a close approximation of the speeds encountered during this period of time. At the moment, the RX ranges for Green = 0 - 100Mbps, Yellow = 100 - 250Mbps, Red = > 250Mbps. Config menu item #14 allows you to modify these values based on your own personal preferences and bandwidth. Separation between RX and TX thresholds has been added for those with asymmetrical internet connections, with thanks to @Stephen Harrington for the push in that direction! TX range defaults for Green = 0 - 15Mbps, Yellow = 15 - 25Mbps, Red = > 25Mbps.
- PATCH: Fixed a few small inconsistencies across the script.
- PATCH: Renamed "Connection Speed" to "Connection Throughput" to help clarify the purpose of the new RX/TX measurement information while in setup item #14. Thanks @CaptainSTX for the suggestion!
- PATCH: Fixed the "Bad Number:%" error. Thanks to @scootertramp for reporting that!

Download link:
Code:
curl --retry 3 "https://raw.githubusercontent.com/ViktorJp/VPNMON-R3/develop/vpnmon-r3.sh" -o "/jffs/scripts/vpnmon-r3.sh" && chmod 755 "/jffs/scripts/vpnmon-r3.sh"

Significant Screenshots:

Connection Throughput change in the Config Menu:

1759795458102.png


... and in menu item #14 showing "Throughput" to set the various thresholds.

1759795528857.png
 

Similar threads

Latest threads

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