Skip to content
  1. Oct 06, 2015
  2. Oct 05, 2015
  3. Oct 03, 2015
  4. 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
  5. Sep 22, 2015
  6. Sep 02, 2015
  7. 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
  8. Aug 29, 2015
  9. Aug 28, 2015
  10. Aug 27, 2015
  11. Aug 23, 2015
  12. 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
  13. 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
  14. Apr 21, 2015
  15. Apr 20, 2015
  16. 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
  17. Jan 16, 2015
  18. Jan 08, 2015