Skip to content
  1. May 12, 2016
  2. May 11, 2016
  3. Mar 25, 2016
  4. Feb 02, 2016
    • Hannu Nyman's avatar
      luci-app-statistics: Remove usually empty std.dev. graph from ping page · 8f8957f9
      Hannu Nyman authored
      
      
      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: default avatarHannu Nyman <hannu.nyman@iki.fi>
      8f8957f9
  5. Jan 27, 2016
  6. Dec 20, 2015
  7. Dec 18, 2015
  8. Dec 16, 2015
  9. Dec 15, 2015
  10. Oct 25, 2015
  11. Oct 13, 2015
  12. Oct 06, 2015
  13. Oct 05, 2015
  14. Oct 03, 2015
  15. Sep 27, 2015
    • Hannu Nyman's avatar
      luci-app-statistics: reorganise menu items · da5b2518
      Hannu Nyman authored
      
      
      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: default avatarHannu Nyman <hannu.nyman@iki.fi>
      da5b2518
  16. Sep 22, 2015
  17. Sep 02, 2015
  18. Aug 30, 2015
    • Hannu Nyman's avatar
      statistics: remove references to Lucid from scripts · 0d5070c5
      Hannu Nyman authored
      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/91b97bc9
      
      
      
      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: default avatarHannu Nyman <hannu.nyman@iki.fi>
      0d5070c5
  19. Aug 29, 2015
  20. Aug 28, 2015
  21. Aug 27, 2015
  22. Aug 23, 2015
  23. Aug 19, 2015
    • Hannu Nyman's avatar
      statistics: fix ping graph label regression · b7b6ed74
      Hannu Nyman authored
      
      
      Earlier update to collectd 5.4.1 changed the field from "ping" to "value",
      which was changed in the graph definition here, but the label definition
      was forgotten. Field's label now reads "ping_IPaddr_value".
      
      Correct the label definition to show only IPaddr like the other two graphs.
      
      Signed-off-by: default avatarHannu Nyman <hannu.nyman@iki.fi>
      b7b6ed74
  24. Aug 18, 2015
    • Hannu Nyman's avatar
      statistics: fix conntrack regression caused by collectd 5.5.0 · ff9da6cb
      Hannu Nyman authored
      
      
      Collectd 5.5.0 introduced new data to conntrack plugin:
      In addition to the number of tracked connections there is also
      the static max conntrack value and the calculated use percentage.
      
      Luci's conntrack plugin intrepretes "conntrack-max" as a new data instance
      and includes it in the graph in addition to the real "conntrack" number.
      
      Eliminate "max" from graph by specifying empty "" instance as data source.
      
      Signed-off-by: default avatarHannu Nyman <hannu.nyman@iki.fi>
      ff9da6cb
  25. Apr 21, 2015
  26. Apr 20, 2015
  27. Mar 02, 2015
    • Hannu Nyman's avatar
      luci-statistics: fix uhttpd log spam from extra png close · 83973f28
      Hannu Nyman authored
      
      
      Fix log spam that uhttpd logging change has brought to surface.
      
      Sun Mar  1 11:10:42 2015 daemon.err uhttpd[2293]: /usr/lib/lua/luci/dispatcher.lua:433: Failed to execute call dispatcher target for entry '/admin/statistics/graph/conntrack'.
      Sun Mar  1 11:10:42 2015 daemon.err uhttpd[2293]: The called action terminated with an exception:
      Sun Mar  1 11:10:42 2015 daemon.err uhttpd[2293]: .../luci/controller/luci_statistics/luci_statistics.lua:153: attempt to use a closed file
      
      Closing the png file explicitly on line 153 is unnecessary, as
      ltn12's source.file method already closes the file after use.
      https://github.com/openwrt/luci/blob/master/modules/luci-base/luasrc/ltn12.lua#L119
      
      More info at https://dev.openwrt.org/ticket/19083#comment:2
      
      Signed-off-by: default avatarHannu Nyman <hannu.nyman@iki.fi>
      83973f28
  28. Jan 16, 2015