Skip to content
  1. Oct 12, 2018
  2. Oct 10, 2018
  3. Sep 21, 2018
  4. Aug 11, 2018
  5. May 02, 2018
  6. Apr 05, 2018
  7. Mar 03, 2018
    • guidosarducci's avatar
      luci-app-statistics: only graph data supported by APC UPS · fa1f4c42
      guidosarducci authored
      
      
      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: default avatarTony Ambardar <itugrok@yahoo.com>
      fa1f4c42
  8. Jan 26, 2018
  9. Jan 20, 2018
  10. Jan 16, 2018
  11. Jan 14, 2018
  12. Jan 10, 2018
  13. Jan 06, 2018
  14. Jan 03, 2018
  15. Nov 11, 2017
  16. Oct 29, 2017
  17. Oct 28, 2017
  18. Jul 27, 2017
  19. Jul 24, 2017
  20. Jul 05, 2017
  21. Jul 02, 2017
  22. Jun 10, 2017
  23. May 10, 2017
    • Hannu Nyman's avatar
      luci-app-statistics: check that uci config sections exist · d04f6673
      Hannu Nyman authored
      
      
      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: default avatarHannu Nyman <hannu.nyman@iki.fi>
      d04f6673
  24. May 09, 2017
  25. May 02, 2017
  26. Apr 30, 2017
  27. Apr 29, 2017
  28. Apr 18, 2017
  29. Feb 28, 2017
  30. Feb 23, 2017
  31. Feb 13, 2017
  32. Jan 24, 2017
  33. Jan 23, 2017
  34. Dec 23, 2016
  35. Dec 22, 2016