summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-statistics
AgeCommit message (Collapse)Author
2017-02-28treewide: cleanup references to madwifi from LuCIHannu Nyman
Remove the code related to the deprecated madwifi driver. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-02-22i18n: complete pt-br translationLuiz Angelo Daros de Luca
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2017-02-13luci-app-statistics: remove non-functional links from graphsHannu Nyman
The statistics graphs on the pages with multiple data sources have contained links to the data sources, but those links have not worked. Remove the links as they are unnecessary. This commit fixes #1006 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-01-24luci-app-statistics: Update Japanese translationINAGAKI Hiroshi
Added some Japanese translations and fixed some mistranslations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-24luci-app-statistics: Sync translationsINAGAKI Hiroshi
Synchronized translation of each language po file and po templates with Lua source. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-23luci-app-statistics: add advice about data directory permissionsHannu Nyman
Add advice about the permissions needed for the data directory: Pages are rendered as user 'nobody', so the *.rrd files, data directory and all its parent directories need to be world readable. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-01-12Merge pull request #938 from cshore-firmware/pull-request-statistics-dfDaniel Dickinson
app-statistics: df: Don't separate disk usage types
2016-12-23luci-app-statistics: Fix mistranslations for JapaneseINAGAKI Hiroshi
Fixed some mistranslations for Japanese. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2016-12-23luci-app-statistics: fix mistranslation of JapaneseINAGAKI Hiroshi
Fixed some mistranslations of Japanese. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2016-12-22luci-app-statistics: Update Japanese translationINAGAKI Hiroshi
Added translations for each plugins. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2016-12-10i18n: sync translationsHannu Nyman
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-12-10Fix config files getting overwritten in opkg installHannu Nyman
Commit 39ff053890 accidentally removed the conffiles definitions from luci-base, statistics, splash and diag-devinfo apps. That has caused existing config files to get overwritten if the package has been reinstalled via opkg. Additionally, the splash text files have not been saved in sysupgrade or backup as they are located outside /etc/config This commit adds back the conffiles definitions to the respective packages. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-12-07app-statistics: df: Don't separate disk usage typesDaniel Dickinson
The df plugin wasn't displaying useful lables for the space used vs free vs reserved due to title override. This patch fixes that issues by removing the per-instance setting. Signed-off-by: Daniel Dickinson <lede@cshore.thecshore.com>
2016-11-19luci-app-statistics: add support for thermal statsHannu Nyman
Add support for temperature data from collect-mod-thermal Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-11-10luci-app-statistics: adjust cpufreq graph for single/dual-core CPUsHannu Nyman
The original data model definition assumed data from a quad-core CPU, which caused errors with single- and dual-core processors. Adjust the data model to work with also them. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-11-08luci-app-statistics: tweak 'cpufreq' number formattingHannu Nyman
Adjust number formatting to display >1GHz values better. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-11-08luci-app-statistics: add support for CPU frequency scaling statsHannu Nyman
Add support for 'cpufreq' plugin in collectd, which monitors the CPU cores' frequencies. Some platforms enable dynamic frequency scaling according to CPU load. 'cpufreq' plugin can currently be built for x86 and mvebu. (and it should likely be enabled also for ipq806x) Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-10-24Merge pull request #776 from cshore/pull-request-statistics-nutJo-Philipp Wich
luci-app-statistics: nut: Add additional stats some UPSes report
2016-09-29Merge pull request #770 from arturdm/patch-1Hannu Nyman
luci-app-statistics: Fix missing title in df graphs
2016-09-04luci-app-statistics: Add cpu and memory plugins to the default setHannu Nyman
Add cpu and memory statistics plugins to the default set included in Luci statistics and enable them in the default config. They are useful small collectd plugins for resource usage monitoring. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-08-13luci-app-statistics: nut: Add additional stats some UPSes reportDaniel Dickinson
Different UPSes report differents stats; here we add graphing of some additional statistics supports by some models. Signed-off-by: Daniel Dickinson <lede@cshore.thecshore.com>
2016-08-11Fix missing title in df graphsArtur Stepniewski
It used data source instance name instead of plugin instance name. Signed-off-by: Artur Stepniewski <artur.stepniewski+openwrt@gmail.com>
2016-05-30i18n: sync translationsHannu Nyman
sync translations. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-05-12luci-app-statistics: option for max/avg data when not rrasingleHannu Nyman
Introduce option that enables the user to select max values instead of averages for graphs if the user has disabled RRAsingle. The option defaults to average values, which have been the default in Luci statistics. Remove 'optional' from RRASingle, as it is a key option for statistics. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-05-11Graph the max value rather than avg if rrdsingle disabledKevin Darbyshire-Bryant
With rrdsingle the average values are used for graphing. As the timescale increases (say over a day or month) the average values progressively reduce. Using the maximum value over the longer periods is arguably no less deceptive but it does produce more informative graphs. V2 - Invert the default path logic related to rra.single Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
2016-03-25luci-app-statistics: Fix disk usage graphingDaniel Dickinson
Disk usage graphing was broken. This fixes it. Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
2016-02-02luci-app-statistics: Remove usually empty std.dev. graph from ping pageHannu Nyman
Remove the usually empty standard deviation graph from the ping page. The graph is empty for most users as collectd measures standard deviation of individual pings inside the general interval of statistics collection. Default setting for both ping interval and general collection interval is 30s in Luci statistics, meaning just 1 ping per interval, which leads to empty graph. (To provide relveant data, the ping interval should be 1/4-1/5 of the general collection interval. Even then the graph does not look very informative due to different scaling than the latency graph.) Note that this commit does not change collectd itself, which continues to collect and calculate also the std.dev. data, which can be fetched with 'rrdtool' if needed. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-01-27Use numeric prefixes for uci-defaults scriptsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-12-20i18n: sync translationsHannu Nyman
Sync translations. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-12-18luci-app-statistics: Edited Swedish translationKristoffer Grundström
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-12-15validation: Add option ipv4only option to host and hostport datatypesDaniel Dickinson
Some applications only support ipv4 so add ipv4only option to host and hostport datatypes so that for thos applications that when an IP address is specified only and ipv4 ip address gets accepted.
2015-10-25luci-app-statistics: Adjust ping graphs to show target hosts separatelyHannu Nyman
Ping statistics plugin allows the user to define multiple ping targets. The graphs have so far shown multiple hosts in a stacked way. Adjust graphs to show the target hosts separately (overlay=true). Clarify the plugin definition with some additional line spacing. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-10-25luci-app-statistics: improve scaling of the associated stations graphHannu Nyman
Improve scaling of the associated stations graph on the wireless page. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-10-13i18n: Sync translationsHannu Nyman
Sync translations to the current strings. Changes in luci-app-ddns, luci-app-mjpg-streamer, luci-app-qos, luci-app-shadowsocks-libev, luci-app-statistics and luci-base Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-10-06Globally convert headline anchors into name attributes.Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-05luci-app-statistics: reorder interface, netlink and openvpn datasourcesJo-Philipp Wich
This aligns the order and grouping of RX and TX network datasources. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-05luci-app-statistics: add support for sorting RRD data sourcesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-05luci-app-statistics: add initial support for collectd-mod-openvpnJo-Philipp Wich
This changeset covers compression and traffic stats, not every combination has been tested yet. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-05luci-app-statistics: add initial support for collect-mod-sensorsJo-Philipp Wich
Due to a lack of a test environment this support only covers thermal graphs so far. Please send the output of "rrdtool info /tmp/rrd/*/sensors-*/*.rrd" if your system happens to support voltage, power or fanspeed sensors. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-03luci-app-statistics: improve diagram generation, add missing titleJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-03luci-app-statistics: rework graph label handlingJo-Philipp Wich
Remove leftover unused translation code and properly escape colons in line labels. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-03luci-app-statistics: only render index view for more than one instanceJo-Philipp Wich
If a plugin produces only one instance, e.g. netlink with just one interface configured, then the controller will register no detail views which would normally show all graphs but the index pacage of a given plugin will still display the collapsed view without any possibility to reach the full listing. Fix the problem by only rendering a linked index view when more than one instance is present. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-09-27luci-app-statistics: reorganise menu itemsHannu Nyman
Reorganise the menu items of the Luci statistics module: * Re-label "Collectd" to "Setup" and place it after the "Graphs" items. - "Graphs" is used much more frequently so it should be first. - Change "Collectd" menu item to "Setup" to clarify things. * Re-label "System plugins" to "General plugins" to change sorting. "Network / Output / System" changes to "General / Network / Output" that is more logical order for the items. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-09-22luci/statistics: Fix nut UPS graphsDavid Woodhouse
At some point since I last checked, the nut plugin for collectd changed the names of the timeleft and percent datasets. Update the luci module to match so that those graphs are generated correctly again. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2015-09-02statistics: fix typoHannu Nyman
sed -i "s/collected date/collected data/" Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-08-30statistics: remove references to Lucid from scriptsHannu Nyman
Both init.d and uci-defaults scripts included in luci-app-statistics still contained stuff related to lucid, which package was removed by https://github.com/openwrt/luci/commit/91b97bc9f625d09431dc1c753209a037d7c42fbc Changes to scripts: * init.d: lucid reference removed, /var/etc creation moved earlier (before first possible use) * uci-defaults: lucid parameters & restart removed (but busybox httpd stuff was left intact, although it might be unnecessary) Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-08-29statistics: adjust default settings to match default pluginsHannu Nyman
Adjust default settings to match the plugins installed by default (default plugins: iwinfo, interface, load) * disable plugins not installed by default to avoid error messages at start * remove references to Freifunk interfaces, as most users do not have those Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-08-29statistics: cleanup config fileHannu Nyman
No functional changes, but the file is reorganised: * group settings: general settings / output plugins / input plugins * sort settings inside a group * remove quotes from option names to match the current uci behaviour * whitespace corrections Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-08-28statistics: clarify CPU/processor graph by removing "idle" from itHannu Nyman
Clarify the CPU time consumption graph by removing the "idle" data from it. Especially with light traffic, removing "idle" enables the graph to scale better and to properly show the CPU load variations. If "idle" data needs to be seen, it might be added as a second graph below. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-08-28statistics: clarify stats introductionHannu Nyman
* Clarify the short explanation on the statistics section's front page. * Mention the possibility of additional collectd plugins to get more stats. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>