What's new

uiDivStats uiDivStats - WebUI for Diversion statistics

  • 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!

Do you get the same error running stats generation through Diversion itself?

No error when running stats generation through Diversion.
 
Default stats update time is 1 hours, how to change this value without script edit? If I open uidivstats menu it not contain this feature.
 
Default stats update time is 1 hours, how to change this value without script edit? If I open uidivstats menu it not contain this feature.
You would need to edit the script. What interval are you looking to set it to, out of interest?
 
You would need to edit the script. What interval are you looking to set it to, out of interest?
Thanks, I understood it. But, maybe add time option then open script setup via amtm?
1 hour is too long time, I mean set it 15-30 minutes.
 
Thanks, I understood it. But, maybe add time option then open script setup via amtm?
1 hour is too long time, I mean set it 15-30 minutes.
The process to generate stats is quite cpu intensive, i wouldn't recommend running it that frequently
 
ASUS RT-AX88U
WRTMerlin-Current Version : 384.13_0


I ran the command :

Code:
/usr/sbin/curl --retry 3 "https://raw.githubusercontent.com/jackyaz/uiDivStats/master/uiDivStats.sh" -o "/jffs/scripts/uiDivStats" && chmod 0755 /jffs/scripts/uiDivStats && /jffs/scripts/uiDivStats install

Then I ran the commands:

Code:
uiDivStats

and ...

/jffs/scripts/uiDivStats

and then nothing happened ...

Code:
prickly@RT-AX88U-E390:/tmp/home/root# /usr/sbin/curl --retry 3 "https://raw.githubusercontent.com/jackyaz/uiDiv
Stats/master/uiDivStats.sh" -o "/jffs/scripts/uiDivStats" && chmod 0755 /jffs/scripts/uiDivStats && /jffs/scrip
ts/uiDivStats install
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 43648  100 43648    0     0  26976      0  0:00:01  0:00:01 --:--:-- 31883
uiDivStats: Welcome to uiDivStats v1.1.3, a script by JackYaz

uiDivStats: Checking your router meets the requirements for uiDivStats

uiDivStats: Diversion weekly stats not enabled!

uiDivStats: Open Diversion, use option c and then enable using 2,1,1

uiDivStats: Requirements for uiDivStats not met, please see above for the reason(s)

Press enter to continue...
prickly@RT-AX88U-E390:/tmp/home/root# uiDivStats
-sh: uiDivStats: not found
prickly@RT-AX88U-E390:/tmp/home/root# /jffs/scripts/uiDivStats
-sh: /jffs/scripts/uiDivStats: not found


EDIT: I also enabled Diversion weekly stats
 
ASUS RT-AX88U
WRTMerlin-Current Version : 384.13_0


I ran the command :

Code:
/usr/sbin/curl --retry 3 "https://raw.githubusercontent.com/jackyaz/uiDivStats/master/uiDivStats.sh" -o "/jffs/scripts/uiDivStats" && chmod 0755 /jffs/scripts/uiDivStats && /jffs/scripts/uiDivStats install

Then I ran the commands:

Code:
uiDivStats

and ...

/jffs/scripts/uiDivStats

and then nothing happened ...

Code:
prickly@RT-AX88U-E390:/tmp/home/root# /usr/sbin/curl --retry 3 "https://raw.githubusercontent.com/jackyaz/uiDiv
Stats/master/uiDivStats.sh" -o "/jffs/scripts/uiDivStats" && chmod 0755 /jffs/scripts/uiDivStats && /jffs/scrip
ts/uiDivStats install
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 43648  100 43648    0     0  26976      0  0:00:01  0:00:01 --:--:-- 31883
uiDivStats: Welcome to uiDivStats v1.1.3, a script by JackYaz

uiDivStats: Checking your router meets the requirements for uiDivStats

uiDivStats: Diversion weekly stats not enabled!

uiDivStats: Open Diversion, use option c and then enable using 2,1,1

uiDivStats: Requirements for uiDivStats not met, please see above for the reason(s)

Press enter to continue...
prickly@RT-AX88U-E390:/tmp/home/root# uiDivStats
-sh: uiDivStats: not found
prickly@RT-AX88U-E390:/tmp/home/root# /jffs/scripts/uiDivStats
-sh: /jffs/scripts/uiDivStats: not found
The error is shown in your output:
Code:
uiDivStats: Welcome to uiDivStats v1.1.3, a script by JackYaz

uiDivStats: Checking your router meets the requirements for uiDivStats

uiDivStats: Diversion weekly stats not enabled!

uiDivStats: Open Diversion, use option c and then enable using 2,1,1

uiDivStats: Requirements for uiDivStats not met, please see above for the reason(s)
 
The error is shown in your output:
Code:
uiDivStats: Welcome to uiDivStats v1.1.3, a script by JackYaz

uiDivStats: Checking your router meets the requirements for uiDivStats

uiDivStats: Diversion weekly stats not enabled!

uiDivStats: Open Diversion, use option c and then enable using 2,1,1

uiDivStats: Requirements for uiDivStats not met, please see above for the reason(s)

Yeah, I did that but its still not working. Maybe I'll reboot the router
 
The error is shown in your output:
Code:
uiDivStats: Welcome to uiDivStats v1.1.3, a script by JackYaz

uiDivStats: Checking your router meets the requirements for uiDivStats

uiDivStats: Diversion weekly stats not enabled!

uiDivStats: Open Diversion, use option c and then enable using 2,1,1

uiDivStats: Requirements for uiDivStats not met, please see above for the reason(s)

After rebooting the router it still fails:

Code:
ASUSWRT-Merlin RT-AX88U 384.13-0 Wed Jul 31 17:30:47 UTC 2019
prickly@RT-AX88U-E390:/tmp/home/root# uiDivStats
-sh: uiDivStats: not found
prickly@RT-AX88U-E390:/tmp/home/root# /jffs/scripts/uiDivStats
-sh: /jffs/scripts/uiDivStats: not found
 
After rebooting the router it still fails:

Code:
ASUSWRT-Merlin RT-AX88U 384.13-0 Wed Jul 31 17:30:47 UTC 2019
prickly@RT-AX88U-E390:/tmp/home/root# uiDivStats
-sh: uiDivStats: not found
prickly@RT-AX88U-E390:/tmp/home/root# /jffs/scripts/uiDivStats
-sh: /jffs/scripts/uiDivStats: not found

You need open Diversion! And enter needed options.
 
You need open Diversion! And enter needed options.

As I wrote above, I have already done that, and it is still not working.
 
Just installed it, I have RT-AC1900P running on 380.68_4 and in the Tools menu when I select the Diversion Statistics tab it goes to /Advanced_MultiSubnet_Content.asp url which gives 404 Not Found.
 
Well no answer so I decided to uninstall for now as I don't want it to take ressources while I can't see stats. I read they were generated every hours? WOuld it be possible to add a button so they only generate when we click it then the page refresh after completed?

Anyway, this is what I get after uninstalling, normal?

Code:
Are you sure you want to uninstall uiDivStats? (y/n)
y
uiDivStats: Removing uiDivStats...

sed: /jffs/scripts/custom_menuTree.js: No such file or directory
uiDivStats: Uninstall completed
 
Well no answer so I decided to uninstall for now as I don't want it to take ressources while I can't see stats. I read they were generated every hours? WOuld it be possible to add a button so they only generate when we click it then the page refresh after completed?

Anyway, this is what I get after uninstalling, normal?

Code:
Are you sure you want to uninstall uiDivStats? (y/n)
y
uiDivStats: Removing uiDivStats...

sed: /jffs/scripts/custom_menuTree.js: No such file or directory
uiDivStats: Uninstall completed
Script is 384.XX without re-writing how the WebUI bits are done. Sorry (#1 has been edited)
 
Teaser time:

upload_2019-9-9_0-28-0.png
 

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!
Top