summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-statistics
AgeCommit message (Collapse)Author
2014-10-10add support for splash leases pluginsoma
2014-09-18collectd: Update luci-statistics / collectd to 5.4.1 - LuciJo-Philipp Wich
[PATCH 1/2] [packages] collectd: Update luci-statistics / collectd to 5.4.1 - packages [PATCH 2/2] [luci] collectd: Update luci-statistics / collectd to 5.4.1 - Luci Collectd, the backbone of Luci statistics module, has been recently updated already to 5.4.1, while Openwrt is still with 4.10.8. 5.0-5.4 branches have been released in 2011-2013 and the last Collectd release in January 2014 only contained 5.4.1. 4.10.x is being "phased out" and new commits have been made only rarely. No 4.10.x release for ages. My ar71xx/wndr3700 build has been using 5.4.1 since March (and used 5.3.1 long before that). I have compile-tested (with ar71xx) all collectd modules, and I have verified the real-life functionality of the following plugins: Conntrack, CPU/Processor, DNS, Interfaces, Memory, Ping, Processes, TCP Connections, System Load, Uptime, Wireless. The version bump requires changes both to "collectd" in the packages feed and to "luci-statistics" in the luci feed, as some of the data items have changed name or file structure. I am including two separate patches: one for collectd in packages and one for luci-statistics in Luci trunk. Collectd: Explanation of main changes in the patches for collectd in packages feed: Patches to be removed: - 120-fix_kernel_2.6.37.patch is unnecessary. The file to be patched has been removed upstream. - 130-timeleft-max.patch is included upstream. Patch removed. http://git.verplant.org/?p=collectd.git;a=commitdiff;h=d5b09f2bb673ac9396da52b85bcbd16c98b3d633 Changed patches: - 003-remove-werror.patch: Quilt choked on some -Werror related changes, so I removed them. - 900-add-iwinfo-plugin.patch: Changed to patch configure.ac instead of configure.in New patches: - 140-fix-fqdnlookup.patch : FQDNLookup option has been turned on by default since 5.1. If that option is enabled, it causes collectd to refuse to start in a basic Openwrt box as typically a fully qualified domain name does not exist for the router. (That error related can only be properly seen when console is used to start collectd. Otherwise Luci statistics collectd simply dies immediately after starting it.) That option should be false by default. I included a new patch 140-fix-fqdnlookup.patch to turn the option off by default. http://git.verplant.org/?p=collectd.git;a=commit;h=e58f85bb68b4c45130bb6fdf40b51db95d2b71e5 - 150-fix-interface-af-link : a FreeBSD10-specific change broke build for me, so I reverted the change. http://git.verplant.org/?p=collectd.git;a=commitdiff;h=645dadb3fcc466e8880fda4eb23b21ad433631fc - 905-disable-sigrok-glib: libsigrok checks for a glib-related macro that breaks configure. Bypass the invalid macro. I have also added a disabling option in Makefile. Luci: Data presentation in luci-statistics requires three changes in the Luci sources: -conntrack result data has changed name from "entropy" to "value". -ping result data has changed name from "ping" to "value". http://git.verplant.org/?p=collectd.git;a=commitdiff;h=77a6905147798210ec17173bd5e4410adcc3a112 -interface plugin has changed rrd data file structure so that the plugin instances (=interfaces) have separate data files. Luci needs to draw the graph for each plugin instance, not for each data instance. http://git.verplant.org/?p=collectd.git;a=commitdiff;h=cc3640ba512862cd5745446f1f1a997dd4344454 My previous patches for upgrading to earlier 5.x series can be marked as superseeded in Patchwork. http://patchwork.openwrt.org/patch/2457/ http://patchwork.openwrt.org/patch/3300/ http://patchwork.openwrt.org/patch/4204/ http://patchwork.openwrt.org/patch/4205/ Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2013-12-03applications/luci-statistics: fix xhtml entity error introduced with r9926Jo-Philipp Wich
2013-10-18applications/luci-statistics: fix img urlPatrick Grimm
2013-04-23Add support for collectd-mod-uptime to luci-statisticsJo-Philipp Wich
collectd-mod-uptime is already there, but there has been no Luci support for it, so no graphs are shown. Based on forum discussion (see https://forum.openwrt.org/viewtopic.php?id=42478 ), I submit a patch to add the support to luci-statistics. Patch is for Luci trunk and the functionality can be enabled by selecting collectd-mod-uptime in menuconfig. signed-off-by: hannu.nyman@iki.fi
2013-01-06applications/luci-statistics: Change datatype to host to allow ipv4 or ipv6 ↵Manuel Munz
addresses or hostnames, #432
2012-12-25applications/luci-statistics: render graph menus in alphabetic orderJo-Philipp Wich
2012-12-14luci_statistics: Add y_min, y_max, units_exponent options and clean up some ↵Jo-Philipp Wich
graphs Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2012-12-14luci-statistics: add transform_rpn option to graphs, use it for nut battery lifeJo-Philipp Wich
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2012-12-14luci-statistics: don't plot data points where there are no data.Jo-Philipp Wich
Converting NaN to zero for the sake of the cumulative stack in non-overlay mode is all very well. But we shouldn't then use that for displaying the graph. Make another variable %s_plot which *preserves* NaN from the input data, and then we don't get bogus data points drawn. Especially at the end of the graph this was problematic. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2012-12-11applications/luci-statistics: convert nut plugin to minutesJo-Philipp Wich
2012-12-11applications/luci-statistics: add missing nut plugin entry to config menuJo-Philipp Wich
2012-12-11Add NUT UPS support to luci-statisticsJo-Philipp Wich
2012-12-02applications/luci-statistics: fix typo in collectd cbiJo-Philipp Wich
2012-11-26remove .i18n annotations from controller filesJo-Philipp Wich
2012-09-07applications/luci-statistics: add missing return in _expand()Jo-Philipp Wich
2012-09-06applications/luci-statistics: cope with uci list values, thanks Bluse for ↵Jo-Philipp Wich
reporting this
2012-02-19applications/luci-statistics: avoid global vars, avoid nil indexing, get rid ↵Jo-Philipp Wich
of counter variable
2012-02-19applications/luci-statistics: make host selectable if collectd-mod-network ↵Patrick Grimm
server is on
2011-12-14applications/luci-statistics: add iwinfo configJo-Philipp Wich
2011-12-13applications/luci-statistics: add iwinfo support to stat-genconfigJo-Philipp Wich
2011-12-12applications/luci-statistics: fix controller (#7344)Jo-Philipp Wich
2011-12-07applications/luci-statistics: drop support for wireless plugin, add iwinfo ↵Jo-Philipp Wich
replacement
2011-12-07applications/luci-statistics: remove plugin overview pages, jump to first ↵Jo-Philipp Wich
plugin of each category instead
2011-12-05applications/luci-statistics: rework handling of index and detail graphsJo-Philipp Wich
Instead of coding the display logic into the graph models, simply annotate graph models with .detail = true/false and let the renderer decide which to pick when.
2011-11-28applications/luci-statistics: Sort menu items alphabeticallyManuel Munz
2011-11-28applications/luci-statistics: Add olsrd to the default configManuel Munz
2011-11-28applications/luci-statistics: Fix spellingManuel Munz
2011-11-28applications/luci-statistics: Saner defaults for processes to monitor and ↵Manuel Munz
add helptext
2011-11-28applications/luci-statistics: Remove default listener and network server entriesManuel Munz
2011-11-28applications/luci-statistics: Add missing translations to exec cbi modelManuel Munz
2011-11-28applications/luci-statistics: Disable exec plugin by default, remove ↵Manuel Munz
nonexistant scripts
2011-11-28applications/luci-statistics: Add dns graph-modelManuel Munz
2011-11-28applications/luci-statistics: add support for conntrack pluginJo-Philipp Wich
2011-11-28applications/luci-statistics: Add support for memory plugin and initial ↵Manuel Munz
support for conntrack
2011-11-28applications/luci-statistics: remove the 10min rra from default config, ↵Jo-Philipp Wich
saves some precious ram
2011-11-28applications/luci_statistics: add missing translations to cbi modelsJo-Philipp Wich
2011-11-28applications/luci-statistics: add olsr plugin cbi modelJo-Philipp Wich
2011-11-28applications/luci-statistics: add support for olsr and madwifi plugin parametersJo-Philipp Wich
2011-11-28applications/luci-statistics: display all instances on index pages, ↵Jo-Philipp Wich
introduce is_index flag for models, add olsrd plugin menu
2011-11-28applications/luci-statistics: change i18n helper to accept model provided ↵Jo-Philipp Wich
titles, remove magic translations
2011-11-28applications/luci-statistics: move all models to the per-plugin level, ↵Jo-Philipp Wich
provide titles and labels, provide model for disk plugin
2011-11-28applications/luci-statistics: drop definitions.luaJo-Philipp Wich
2011-11-28applications/luci-statistics: remove support for per-datatype models and ↵Jo-Philipp Wich
builtin definitions, drop dependency on definitions.lua, support user provided title for datasources
2011-08-22applications/luci-statistics: cope with rules having no target in iptables ↵Jo-Philipp Wich
plugin config
2011-08-13applications/luci-statistics: fix translation issues in controllerJo-Philipp Wich
2011-08-12applications, modules: remove i18n handling from controller modules as it ↵Jo-Philipp Wich
moved to the themes now
2011-01-29revert accidentally committed changesJo-Philipp Wich
2011-01-29po: sync radvd translationsJo-Philipp Wich
2011-01-14applications: revise uci-defaults scriptsJo-Philipp Wich