summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-statistics/htdocs
AgeCommit message (Collapse)Author
2020-12-13luci-app-statistics: Adjust UI defaults to match config fileHannu Nyman
Adjust the defaults shown in the LuCI user interface to match the real default values in the default config file. (If a plugin is disabled and config values get deleted from the config file, user has been offered incorrect default values from UI defaults when the plugin is later re-enabled.) * dns: set br-lan as the interface * email: socket in /var/run/collectd/ dir * interface: set br-lan as the interface * ping: TTL 127, interval 30 * rrdtool: 1hour as shortest period, 144 RRArows * tcpconns: Do not monitor all, only 22 80 * unixsock: socket in /var/run/collectd/ dir Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-12-12luci-app-statistics: add dhcpleasesNick Hainke
Add the dhcpleases plugin: https://github.com/openwrt/packages/pull/14204 Added-Frontend-by: Hannu Nyman <hannu.nyman@iki.fi> Signed-off-by: Nick Hainke <vincent@systemli.org> [Minor changes to graph: alt_autoscale, precision, label] Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-11-08luci-app-statistics: CPU plugin: hide 'idle', tweak defaultsHannu Nyman
* Add functionality to hide the metric of 'idle' state from the chart and data table. Many routers are mostly idle, and the 98% 'idle' dominates the graph reducing its usefulness. Without 'idle', the smaller CPU usage spikes are visible. * Hide 'idle' by default. Provide config option to show it. (note: the option in inside LuCI, and has no impact on actual data collection by collectd.) * Tweak the defaults to use the percentage data by default. It makes more sense to average users than jiffies. * Set the current LuCI defaults also in the config file. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-09-08luci-app-statistics: fix commentHannu Nyman
Update comment to reflect 'noavg' option introduced by 64bb82d03 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-09-08luci-app-statistics: add noavg optionFlorian Eckert
It is sometimes useful not to display avg values int the graph. This option is used to prevent this from appearing in the graph. In a graph definition this option must be set to *true*, if the avg values should not be displayed. ``` options = { gauge = { title = "Status", color = "0000ff", noarea = true, noavg = true } ``` Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-07-13luci-app-statistics: add missing ValuesPercentage optionFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-05-06luci-app-statistics: remove quotemark from commentHannu Nyman
Apparently " in a comment may cause an error in some conditions. Reference to issue #4020 Remove also ";" just in case... Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-05-05luci-app-statistics: add graphs for sqm-collectKevin Darbyshire-Bryant
Add graphs for sqm data collected by 'sqm_collect.sh' An overall sqm graph displays bandwidth (Kb/s), Backlog (Bytes) and drops for each supported qdisc. Sqm-cake supports cake's tin structure and displays many(!) graphs per tin: Bandwidth: Bandwidth (Kb/s), bandwidth threshold (Kb/s). Latency: Target latency, Peak, Average, Sparse flow latency Backlog v Drops: Backlog (Bytes), Drops, ECN marks, Ack-filter drops Flow counts: Sparse flows, Bulk flows, Unresponsive flows Fun for all the family :-) Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2020-04-21luci-app-statistics: add syslog pluginTobias Waldvogel
Signed-off-by: Tobias Waldvogel <tobias.waldvogel@gmail.com>
2020-04-18Add missing variable declaration for luci_app_statistics plugin dfTobias Waldvogel
Signed-off-by: Tobias Waldvogel <tobias.waldvogel@gmail.com>
2020-04-08luci-app-statistics: splash_leases.js: fix typo in configSummary stringce-4
Suggested-by: ce-4 <chr.egger@gmail.com> [reword commit subject] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-03treewide: import utility classes explicitlyJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-29luci-app-statistics: minor bugfixes in IRQ and OpenVPN plugin configJo-Philipp Wich
- Fix cfgvalue loading in IRQ selection - Fix cfgbalue loading in OpenVPN status file selection - Fix typo in OpenVPN config translation string Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-23luci-app-statistics: rework markup and CSS classes for easier stylingJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-16luci-app-statistics: fix APC UPS graph renderingJo-Philipp Wich
Fixes: #3743 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-02luci-app-statistics: conntrack: add percent usage graphKevin Darbyshire-Bryant
The existing graph shows a conntrack entry usage value but doesn't show a conntrack table size figure so you don't know if you're close to filling the table. Add a percent usage graph to show conntrack table percent used. Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2020-02-23luci-app-statistics: cpufreq: re-add ExtraItems configJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-22luci-app-statistics: rearrange graph displayJo-Philipp Wich
- Add a per-plugin overview tab that contains the (non-detail) graphs of each plugin instance, similar to the old Lua based implementation - Numerically order plugin instances starting with numbers - Avoid multiple renderings of the same graphs - Fix legend of tcpconns graphs - Move cpufreq distribution and transition charts to detail tabs Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-22luci-app-statistics: clean and fix plugin configurationsJo-Philipp Wich
- Remove redundant form flags - Fix various default values - Add some new collect options and remove options that do not exist anymore Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-21luci-app-statistics: use stable random seed for dynamic graph colorsJo-Philipp Wich
Fixes: #3666 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-21luci-app-statistics: iptables.js: fix rule match expressionJo-Philipp Wich
Fixes: #3658 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-21luci-app-statistics: df.js: fix null access in configSummary()Jo-Philipp Wich
Fixes: #3657 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-20luci-app-statistics: fix graph power/noise orderingJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-20luci-app-statistics: fix data source orderingJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-19luci-app-statistics: fix datasource selection in graph renderingJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-14luci-app-statistics: auto-create missing plugin entriesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-14luci-app-statistics: config ui tweaksJo-Philipp Wich
- Synchronize enabled checkboxes in overview and modals - Auto-open modal if enabling plugin with extended config Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-13luci-app-statistics: convert graph rendering to client side jsJo-Philipp Wich
This conversion requires cgi-io >= version 17 and uhttpd version >= 2020-02-12 to function properly. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-12luci-app-statistics: convert collectd configuration to client side viewsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>