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!

Jack here is nit picky small request. :rolleyes:
Can you match these bar colors in the Plain graphs?
(from the Traffic Monitor Daily)

screenshot-router-asus-com-8443-2019-05-06-14-38-14.png
 
Last edited:
I am fully enjoying uiDivStats on my RT-AC5300 - so tried it on my DSL-AC68U and hit this problem at the end of the install process: -

Code:
uiDivStats: Checking your router meets the requirements for uiDivStats

Downloading http://bin.entware.net/armv7sf-k2.6/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/entware
Package rrdtool (1.2.30-3a) installed in root is up to date.
Package grep (3.3-1) installed in root is up to date.
uiDivStats: Starting Diversion statistic generation...

cat: can't open '/tmp/uidivstats/div-allips.tmp': No such file or directory
/opt/bin/grep: /tmp/uidivstats/div-hostleases: No such file or directory
awkNR: /tmp/uidivstats/div-bwl: No such file or directory
/opt/bin/grep: /tmp/uidivstats/div-hostleases: No such file or directory
/opt/bin/grep: /tmp/uidivstats/div-iphostleases: No such file or directory
awkNR: /tmp/uidivstats/div-noisy: No such file or directory
/opt/bin/grep: /tmp/uidivstats/div-iphostleases: No such file or directory
/opt/bin/grep: /tmp/uidivstats/div-hostleases: No such file or directory
awkNR: /tmp/uidivstats/div-toptop: No such file or directory
sed: /tmp/uidivstats/div-iphostleases: No such file or directory
cat: can't open '/tmp/uidivstats/div-iphostleases': No such file or directory
uiDivStats: Diversion statistic generation completed successfully!

Checked within Diversion itself - tried to run stats update - and also got a crowd of "can't open '/tmp/etc ...

Have deactivated Diversion / reactivated / forced update - done same with uiDivStats - same problem. The Tab shows under Tools - and presents partial text report but no graphs.
Anyone know what's going on?
 
I am fully enjoying uiDivStats on my RT-AC5300 - so tried it on my DSL-AC68U and hit this problem at the end of the install process: -

Code:
uiDivStats: Checking your router meets the requirements for uiDivStats

Downloading http://bin.entware.net/armv7sf-k2.6/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/entware
Package rrdtool (1.2.30-3a) installed in root is up to date.
Package grep (3.3-1) installed in root is up to date.
uiDivStats: Starting Diversion statistic generation...

cat: can't open '/tmp/uidivstats/div-allips.tmp': No such file or directory
/opt/bin/grep: /tmp/uidivstats/div-hostleases: No such file or directory
awkNR: /tmp/uidivstats/div-bwl: No such file or directory
/opt/bin/grep: /tmp/uidivstats/div-hostleases: No such file or directory
/opt/bin/grep: /tmp/uidivstats/div-iphostleases: No such file or directory
awkNR: /tmp/uidivstats/div-noisy: No such file or directory
/opt/bin/grep: /tmp/uidivstats/div-iphostleases: No such file or directory
/opt/bin/grep: /tmp/uidivstats/div-hostleases: No such file or directory
awkNR: /tmp/uidivstats/div-toptop: No such file or directory
sed: /tmp/uidivstats/div-iphostleases: No such file or directory
cat: can't open '/tmp/uidivstats/div-iphostleases': No such file or directory
uiDivStats: Diversion statistic generation completed successfully!

Checked within Diversion itself - tried to run stats update - and also got a crowd of "can't open '/tmp/etc ...

Have deactivated Diversion / reactivated / forced update - done same with uiDivStats - same problem. The Tab shows under Tools - and presents partial text report but no graphs.
Anyone know what's going on?
@thelonelycoder

uiDivStats uses essentially the same code, so once the problem is identified in Diversion then appropriate changes can be made to UiDivStats
 
Output is as follows: -

Code:
adminanon:/tmp/home/root# df -h /tmp/
Filesystem                Size      Used Available Use% Mounted on
tmpfs                   124.9M      2.0M    122.8M   2% /tmp

Thnx
 
Output is as follows: -

Code:
adminanon:/tmp/home/root# df -h /tmp/
Filesystem                Size      Used Available Use% Mounted on
tmpfs                   124.9M      2.0M    122.8M   2% /tmp

Thnx
Have you rebooted the DSL router? Maybe it has a strange problem I don't want to find out or know about.
Diversion should work on GNUton firmware, I have that confirmed. But I would not know if any of them uses the stats function.
 
Have you rebooted the DSL router? Maybe it has a strange problem I don't want to find out or know about.
Diversion should work on GNUton firmware, I have that confirmed. But I would not know if any of them uses the stats function.

Yes indeed - rebooted a couple of times after picking up the error - and no change ... the problem persists.
USB disk check reports clean - and Diversion etc runs perfectly under GNUton - but had not activated stats until now.
Interesting it does not show in the System Log - only appears in the Terminal screen after stats requested ... and claims to end in a successful result.
Pretty sure it is not fully compiling the stats though.

Sorry to have "hijacked" Jack's thread - happy to have this moved by Moderator if required.
 
Yes indeed - rebooted a couple of times after picking up the error - and no change
How about this, one command after the other:
Code:
mkdir /tmp/uidivstats
echo Hello there kernol >/tmp/uidivstats/div-allips
cat /tmp/uidivstats/div-allips
 
How about this, one command after the other:
Code:
mkdir /tmp/uidivstats
echo Hello there kernol >/tmp/uidivstats/div-allips
cat /tmp/uidivstats/div-allips

Each command executed without a problem
Last command produced "Hello there kernol" as expected.
 
I just want to confirm that I have uiDivStats installed on my RT-AC68U and everything is running fine. I'll post results next Sunday following Diversion's list update.
 
MnqLZ3b

Each command executed without a problem
Last command produced "Hello there kernol" as expected.

Opened Diversion and took option c 2 2 to rerun stats and got this result ... see attached
 

Attachments

  • diversion-stats-error.JPG
    diversion-stats-error.JPG
    28.3 KB · Views: 411
MnqLZ3b



Opened Diversion and took option c 2 2 to rerun stats and got this result ... see attached

Are you on the latest v0.5.2? Even if you are, there was a silent update to uiDivStats in the last few hours. Make sure you are running uiDivStats and not divStats (old alpha).
 
Are you on the latest v0.5.2? Even if you are, there was a silent update to uiDivStats in the last few hours. Make sure you are running uiDivStats and not divStats (old alpha).

Thanks @L&LD - was indeed on the latest version of uiDivStats - problem however begins in Diversion - which Jack Yaz pointed out - so @thelonelycoder is kindly investigating. May well be something that @GNUton will need to look at - everything runs well on RT-AC5300 - but not on the DSL-AC68U which has GNUton firmware [ see my signature].
 
Are you on the latest v0.5.2? Even if you are, there was a silent update to uiDivStats in the last few hours. Make sure you are running uiDivStats and not divStats (old alpha).
It's a problem with the directory/file creation and the stats function in Diversion and uiDivStats have largely the same code for it.
 
Thanks @L&LD - was indeed on the latest version of uiDivStats - problem however begins in Diversion - which Jack Yaz pointed out - so @thelonelycoder is kindly investigating. May well be something that @GNUton will need to look at - everything runs well on RT-AC5300 - but not on the DSL-AC68U which has GNUton firmware [ see my signature].
I was suggesting asking in this thread for someone to run the current stats. It can be saved to file, then one does not need to enter the email credentials.
 
I am fully enjoying uiDivStats on my RT-AC5300 - so tried it on my DSL-AC68U and hit this problem at the end of the install process: -
Can you check the output of these commands, removing the spaces in 'e t c' (post filter is triggered):
Code:
cat /e t c/hosts.dnsmasq
cat /var/lib/misc/dnsmasq.leases
If both return nothing then I know what the problem is.

Of interest would be if you have output for these:
Code:
nvram get custom_clientlist
nvram get dhcp_staticlist
 
Last edited:

Latest threads

Sign Up For SNBForums Daily Digest

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