What's new

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 Yaz

Part of the Furniture
v2.3.0
Updated 2021-01-09


A graphical representation of domain blocking performed by Diversion.

uiDivStats is free to use under the GNU General Public License version 3 (GPL 3.0).

This project is hosted on GitHub

Love the script and want to support future development? Any and all donations gratefully received!
PayPal donation
Buy me a coffee

Supported firmware versions
You must be running firmware Merlin 384.15/384.13_4 or Fork 43E5 (or later) Asuswrt-Merlin

Installation
Using your preferred SSH client/terminal, copy and paste the following command, then press Enter:
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

Usage
WebUI

uiDivStats can be configured via the WebUI, in the LAN section.

CLI
To launch the uiDivStats menu after installation, use:
Code:
uiDivStats

If this does not work, you will need to use the full path:
Code:
/jffs/scripts/uiDivStats
 
Screenshot
7b4b4a6339.png
 
v2.3.0 is now available
Changelog:
  • NEW: Added feature to configure and update uiDivStats in the WebUI
  • NEW: Added feature to update daily stats in the WebUI
  • NEW: Added query log filter for type=65 queries to WebUI query log
  • NEW: querylog will attempt to clean up stale querylog processes
  • NEW: Added option to use logarithmic scale for charts, in addition to the default linear scale (credit to @dave14305 for adopting this in FlexQoS and inspiring me to add it)
  • IMPROVED: Query log in WebUI can now be sorted by clicking column headers
  • IMPROVED: WebUI help text if Diversion text stats report doesn't load
  • IMPROVED: Stat generation should be faster due to a new database index for client IPs (this will be created on update and may take some time)
  • CHANGED: Launch from post-mount on startup instead of services-start
 

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