summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-statistics
AgeCommit message (Collapse)Author
2018-10-14pp-statistics: add support for cUrlChizhong Jin
Add collectd-mod-curl plugin support. Which can do some complex track, such as grab stock, but by now, only response time are supported. Signed-off-by: Chizhong Jin <pjincz@gmail.com>
2018-09-20i18n: update pt-br translationLuiz Angelo Daros de Luca
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2018-08-11luci-app: update Chinese translationyangfl
Signed-off-by: David Yang <mmyangfl@gmail.com>
2018-05-02luci-app-statistics: convert init script to procdJo-Philipp Wich
Convert init script to procd format in order to register reload triggers on /etc/config/luci_statistics. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-04-05treewide: filter shell arguments through shellquote() where applicableJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-03-03luci-app-statistics: only graph data supported by APC UPSguidosarducci
Some graph definitions rely on data not supported across all APC UPSes. Due to recent upstream changes in collectd, the daemon no longer creates a NaN-filled .rrd file corresponding to any missing UPS data. Depending on the connected UPS, this may result in some "broken" graphs on the Luci Statistics page since rrdtool cannot find the expected .rrd file. Include the add_supported() function to determine the UPS data available at runtime and update any definitions of graphs to include only supported data. For example, the whole chart stack of AC input and output voltages will normally be "broken" if the UPS only measures AC input voltage. With these changes, the output voltage graph definition is stripped out, allowing the chart to render. Make consistent use of data types and instances in graph definitions. All definitions now use the same format with the 'instances' key. Unnecessary 'types' and 'sources' keys are removed. Fix the definition of 'line frequency' graph, based on upstream collectd apcups plugin code: type is 'frequency' but instance should be 'input'. This also includes some code and whitespace cleanup. Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2018-01-26i18n-ru: fixed and updated russian translationVladimir
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-20i18n-ru: Edits on the general pattern of Russian translationVladimir
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-16i18n-sync change, added project info...Vladimir
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-14added project info, were reviewed in graphical mode, ready for a stable releaseVladimir
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-11fixed and updated russian translationVladimir
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-06fixed russian translationVladimir
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-03fixed and updated russian translationVladimir
Signed-off-by: Vladimir <picfun@ya.ru> [renamed swedish advanced-reboot.po as well, fixed a syntax error, filtered updated files through ./build/i18n-sync.sh] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-11-11i18n: Sync translationsINAGAKI Hiroshi
Synchronized translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-10-29i18n: Update Chinese translationyangfl
Signed-off-by: David Yang <mmyangfl@gmail.com>
2017-10-28i18n: Update Chinese translationyangfl
Signed-off-by: David Yang <mmyangfl@gmail.com>
2017-07-27i18n: sync translationsHannu Nyman
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-07-23luci-app-statistics: Voltage graphs - AC and DCbobmseagithub
The Voltage graph combines Battery, Input Voltage and Output Voltage. The Y-Axis scale masks changes in Input/Output voltages over time. This patch splits the graphs into 2 graphs. This makes it possible to see variations in AC Input/Output voltages. Signed-off-by: Bob Meizlik <bobmseagithub@squakmt.com>
2017-07-04luci-app-statistics: add support for apcups pluginguidosarducci
OpenWRT/LEDE support for APC UPSes is only partial: although the collectd apcups plugin is included, related lua/luci code is missing. These changes add the lua side and have been used for ~2 years, both on OpenWRT and LEDE. Reworked from patches submitted by James Klaas to the luci development list in 2015. Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2017-07-02luci-app-statistics: set logfile as first item in collectd.confHannu Nyman
Force logfile plugin to be evaluated first so that it gets placed first in the collectd.conf file. Reference to https://collectd.org/wiki/index.php/Plugin:LogFile Fixes #1219 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-06-10luci-app-statistics: support specifying line width in graph definitionsJo-Philipp Wich
This allows a graph definition to explicitely request LINE1, LINE2 or LINE3 for a data source. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-06-10luci-app-statistics: support graph menu entries without corresponding labelsJo-Philipp Wich
Properly render menu items for plugin instances that do not have a corresponding label defined. This allows for registering new graph pages solely by dropping files into /usr/lib/lua/luci/statistics/rrdtool/definitions/ Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-05-10luci-app-statistics: check that uci config sections existHannu Nyman
A missing or faulty luci_statistics config file may prevent LuCI access completely already at the login phase as the statistics config is parsed already then. The error is like: .../statistics/datatree.lua:16: attempt to index upvalue 'sections' (a nil value) User may be completely locked out of LuCI until he figures out the need to have a proper luci_statistics config file. Prevent the error by checking for the existence of the uci config sections before trying to use values from them. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-05-09luci-app-statistics: processes: fix graph visibilityHannu Nyman
Fix graph visibility on processes page based on plugin instance. The overview instance is empty, while monitored processes have their own instances. Original version of the patch created by @koblack and discussed in #1021 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-05-02i18n: Sync translationsINAGAKI Hiroshi
Synchronized translations with sources. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-05-02luci-app-statistics: fix whitespaceHannu Nyman
* fix whitespace in config file * place the contextswitch item corerrctly in the sorted options list Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-04-30luci-app-statistics: processes plugin: add labels, correct dataHannu Nyman
Enhance processes statistics page: * add proper labels to graphs * correct RSS memory stats title, add VSZ stats Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-04-29Support for collectd-mod-contextswitchfantom-x
Signed-off-by: Marc Benoit marcb6218@gmail.com
2017-04-18luci-app: Improve zh-CN translationsliushuyu
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>