What's new

Unbound Unbound Stats for Asuswrt-Merlin v1.4.6 [2026-Mar-28] Generate Stats for Unbound

Martinski

Very Senior Member
Release Notes for Unbound Stats v1.4.3 production version now available
[2025-Aug-24]


1) NEW: Added checkupdate and forceupdate parameters to make it easier to update the script without forcing users to first uninstall and then reinstall.
Bash:
/jffs/addons/unbound/unbound_stats.sh checkupdate
     #OR#
/jffs/addons/unbound/unbound_stats.sh forceupdate

2) NEW: Added develop and stable parameters to allow users to easily switch between the production and the development branch versions when/if needed.
Bash:
/jffs/addons/unbound/unbound_stats.sh develop
     #OR#
/jffs/addons/unbound/unbound_stats.sh stable

Note that the initial installation *should* still be done via Unbound Manager. The above new parameters are intended only for an already existing installation.

3) IMPROVED: Modified the call made in the service-event script to check if the parameter contains the script name.

4) IMPROVED: Modified the startup call made in the post-mount script to check if the USB-attached disk partition passed as the argument has indeed Entware installed.

5) IMPROVED: Modified code to set the corresponding priority level of log entries when calling the built-in logger utility.

6) Miscellaneous code improvements, error checking, and fine-tuning.

UnboundStats_v1.4.3_Help.jpg


NOTE:
Currently, the Unbound Stats add-on is not officially hosted on the AMTM-OSR repositories due to its inter-dependency with Unbound Manager, which is also not hosted on the OSR repos at the moment.
 
"Currently", "at the moment"... so both might reach OSR. Hurray! ;)
 
I cannot find a way to install unbound_stats via unbound_manager
There does not seem to be any option:

IMG_1693.jpeg
IMG_1694.jpeg


What am I missing?
 
Release Notes for Unbound Stats WebUI v1.4.4 production version now available
[2025-Nov-03]


1) FIXED: Removed old Tomato JavaScript dependencies and replaced code with more standard function calls.

2) Minor code improvements.

---------
NOTES:
---------

1) To check the currently installed version of the Unbound Stats WebUI add-on, run the following command on an SSH terminal window:
Bash:
grep "readonly SCRIPT_VERSION=" /jffs/addons/unbound/unbound_stats.sh

2) If you have the latest production 1.4.3 version, run one of the following commands to update it:
Bash:
/jffs/addons/unbound/unbound_stats.sh checkupdate
     ##OR##
/jffs/addons/unbound/unbound_stats.sh forceupdate

3) If you are running an older release (1.4.2 or earlier), you can install the latest production version with the following set of commands:
Bash:
curl  -LSs --retry 3 --retry-delay 5 --retry-connrefused \
https://raw.githubusercontent.com/juched78/Unbound-Asuswrt-Merlin/master/unbound_stats.sh \
-o /jffs/addons/unbound/unbound_stats.sh && chmod 755 /jffs/addons/unbound/unbound_stats.sh && \
/jffs/addons/unbound/unbound_stats.sh install

4) To double-check that you have the latest production 1.4.4 release, run the following command:
Bash:
/jffs/addons/unbound/unbound_stats.sh help
UnboundStats_v1.4.4_SSH_CLI_Help.jpg
 
Release Notes for Unbound Stats WebUI v1.4.4 production version now available
[2025-Nov-03]


1) FIXED: Removed old Tomato JavaScript dependencies and replaced code with more standard function calls.

2) Minor code improvements.

---------
NOTES:
---------

1) To check the currently installed version of the Unbound Stats WebUI add-on, run the following command on an SSH terminal window:
Bash:
grep "readonly SCRIPT_VERSION=" /jffs/addons/unbound/unbound_stats.sh

2) If you have the latest production 1.4.3 version, run one of the following commands to update it:
Bash:
/jffs/addons/unbound/unbound_stats.sh checkupdate
     ##OR##
/jffs/addons/unbound/unbound_stats.sh forceupdate

3) If you are running an older release (1.4.2 or earlier), you can install the latest production version with the following set of commands:
Bash:
curl  -LSs --retry 3 --retry-delay 5 --retry-connrefused \
https://raw.githubusercontent.com/juched78/Unbound-Asuswrt-Merlin/master/unbound_stats.sh \
-o /jffs/addons/unbound/unbound_stats.sh && chmod 755 /jffs/addons/unbound/unbound_stats.sh && \
/jffs/addons/unbound/unbound_stats.sh install

4) To double-check that you have the latest production 1.4.4 release, run the following command:
Bash:
/jffs/addons/unbound/unbound_stats.sh help
View attachment 68707


@Martinski we appreciate the continued support for Unbound Manager. I noticed in GitHub page that there's 3 issues still open at this time for Unbound Manager. I don't think these issues have been either verified and/or addressed/fixed for this current version correct since this only fixing the stats.

Again thank you for all you do (plus all other developers here)!

Issues · MartineauUK/Unbound-Asuswrt-Merlin https://share.google/xASsN27KwrFPLaBE8
 
Last edited:
@Martinski we appreciate the continued support for Unbound Manager. I noticed in GitHub page that there's 3 issues still open at this time for Unbound Manager. I don't think these issues have been either verified and/or addressed/fixed for this current version correct since this only fixing the stats.
...
Issues · MartineauUK/Unbound-Asuswrt-Merlin https://share.google/xASsN27KwrFPLaBE8

Just to clarify and set the proper expectations.

I have not taken up the role of maintaining Unbound Manager. So far, I’ve been fixing issues only with the UnboundStats WebUI part of it (a separate project on its own GitHub repository). Initially, my only goal was to try to keep the WebUI page working after several changes in the recent F/W versions that were breaking many of the add-ons webpages, and that goal has not really changed.

I realize that at some point, it would be required to fix issues with Unbound Manager as well, but frankly, I have reached my limit of the number of add-ons that I can keep supporting and maintaining. I simply don’t have enough spare time in my evenings and weekends to add one more project to my already full plate.

Perhaps someone else has the time and is willing and able to take Unbound Manager for support and maintenance. I would certainly help that person whenever I can, but they should not expect my full involvement and commitment at this point.
 
Just to clarify and set the proper expectations.

I have not taken up the role of maintaining Unbound Manager. So far, I’ve been fixing issues only with the UnboundStats WebUI part of it (a separate project on its own GitHub repository). Initially, my only goal was to try to keep the WebUI page working after several changes in the recent F/W versions that were breaking many of the add-ons webpages, and that goal has not really changed.

I realize that at some point, it would be required to fix issues with Unbound Manager as well, but frankly, I have reached my limit of the number of add-ons that I can keep supporting and maintaining. I simply don’t have enough spare time in my evenings and weekends to add one more project to my already full plate.

Perhaps someone else has the time and is willing and able to take Unbound Manager for support and maintenance. I would certainly help that person whenever I can, but they should not expect my full involvement and commitment at this point.

Its understable and I appreciate the additional information!
 
Release Notes for Unbound Stats WebUI v1.4.5 production version now available
[2026-Mar-23]


1) FIXED: Removed a remnant function call from old Tomato JavaScript code (i.e. comma()) that was causing errors when calls to show tooltips were made.

2) IMPROVED: Added the process ID to all syslog messages.

3) NEW: Added code to support "Automatic Script Updates" via AMTM.
This new functionality requires AMTM 6.4 or a later version (see caveat below)​

CAVEAT:
Currently, AMTM does *not* show version information for the Unbound Stats WebUI add-on, so it doesn't show when a new version update becomes available. For some reason (that I'm not aware of), Unbound Stats WebUI was never added to AMTM. I'll discuss this with @thelonelycoder to see if we can work something out to get Unbound Stats WebUI included in AMTM.

In the meantime, if you have already installed v1.4.3 or a later version, you can simply update the add-on by running the following command in a SSH terminal window:
Bash:
/jffs/addons/unbound/unbound_stats.sh forceupdate

To double-check that you have the latest v1.4.5 production release, run the following command:
Bash:
/jffs/addons/unbound/unbound_stats.sh help
 
I encountered a UI bug in the Performance Histogram. When moving the mouse cursor over the chart, the bars slowly disappear or flicker until they are gone.
aa.gif
 
I encountered a UI bug in the Performance Histogram. When moving the mouse cursor over the chart, the bars slowly disappear or flicker until they are gone.
View attachment 70849

You haven't provided enough details & context, so there's barely any info to go on and investigate, so I can't really help at this point.

When reporting problems, issues, bugs, etc., the more detailed info & context you can provide, the better, since that helps me to narrow down the area for investigation and often removes any assumptions one may have about your specific scenario.

"God is in the details."
 
I encountered a UI bug in the Performance Histogram. When moving the mouse cursor over the chart, the bars slowly disappear or flicker until they are gone.
That looks like the same problem reported before with other chart-based webui pages, and it was related to the obsolete Tomato JavaScript files.
 
You haven't provided enough details & context, so there's barely any info to go on and investigate, so I can't really help at this point.

When reporting problems, issues, bugs, etc., the more detailed info & context you can provide, the better, since that helps me to narrow down the area for investigation and often removes any assumptions one may have about your specific scenario.

"God is in the details."

I've captured the browser console errors (F12) which might help identify the cause of the WebUI issue. It seems there are specific JavaScript errors occurring when the page loads:

  • ReferenceError: comma is not defined at user3.asp:605:43.
  • TypeError: Cannot read properties of undefined (reading 'length') in chart.js.
Attached is the screenshot of the DevTools Console for your reference.

2026-03-28 080834.png
 
Last edited:
  • ReferenceError: comma is not defined at user3.asp:605:43.
  • TypeError: Cannot read properties of undefined (reading 'length') in chart.js.
This was fixed in the 1.4.5 release posted on Monday.
 
  • Like
Reactions: aru
I've captured the browser console errors (F12) which might help identify the cause of the WebUI issue. It seems there are specific JavaScript errors occurring when the page loads:
  • ReferenceError: comma is not defined at user3.asp:605:43.
  • TypeError: Cannot read properties of undefined (reading 'length') in chart.js.
Well, you have been testing using an old, previous version, *not* the very latest production release version (v1.4.5), so your test results are essentially null and void.

The 1st rule of bug reporting is as follows:
*BEFORE* reporting any potential problem or bug, *ALWAYS* perform your tests and verify results using the very *LATEST* production release available.

Furthermore, when reporting any problem, at the very least *ALWAYS* provide the most basic info for proper context:
1) Router Model.
2) F/W version.
3) Add-on version.


If the problem persists when using the *latest* production release version, I'll certainly take a look.
 
Release Notes for Unbound Stats WebUI v1.4.6 production version now available
[2026-Mar-28]


1) NEW: Show the currently installed add-on version information on the WebUI page.

2) NEW: Added a CLI menu for options to check for new updates, force updates, and uninstall.

3) IMPROVED: Additional changes to comply with AMTM support requirements.

CAVEAT:
Currently, the AMTM 6.4 version does *not* display version information for the Unbound Stats WebUI add-on, so it will not show when a new updated version becomes available. But the next soon-to-be-released version of AMTM will include support to display, install, and update newer versions available for Unbound Stats WebUI.

In the meantime, you can run the following command to update to the latest v1.4.6 production release:
Bash:
/jffs/addons/unbound/unbound_stats.sh forceupdate

To double-check that you have the latest v1.4.6 production version, run the following command:
Bash:
/jffs/addons/unbound/unbound_stats.sh help

Sample screenshot:
UnboundStats_v1.4.6_WebUI_Version_Info.jpg


New CLI Menu:
UnboundStats_v1.4.6_SSH_CLI_Menu.jpg
 

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