aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin/battery.php (follow)
Commit message (Collapse)AuthorAgeFilesLines
* graph.php: use JSON plugins instead of including PHP plugin filesPim van den Berg2014-05-121-38/+0
| | | | | | | | | | | | A couple of big changes here. A lot of logic moved to graph.php. The PHP plugin files have been rewritten to JSON. In these JSON files *everything* is optional. Also *NOT* having a JSON plugin file won't block you from having a graph. The JSON will just make the graphs prettier (by having a title, y-axis title, legend, colors, etc..). The Collectd types.db file is parsed and used to determine RRD content. When things are not defined in the JSON it will fallback to a default.
* rename ds_names and dsname to legendPim van den Berg2014-05-031-3/+3
| | | | This had nothing to do with an RRD data source.
* move collectd_flush function to base classPim van den Berg2014-05-031-2/+0
|
* type/Default: don't depend on external function GETPim van den Berg2014-05-031-1/+1
|
* move width/heigth from plugins to type __constructPim van den Berg2013-05-131-2/+0
|
* plugin: add battery pluginPim van den Berg2010-10-121-0/+42