aboutsummaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
* graph.php: use JSON plugins instead of including PHP plugin filesPim van den Berg2014-05-1296-2792/+2248
| | | | | | | | | | | | 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.
* type/base: set default title to "Plugin Type (PluginInstance) (Category)"Pim van den Berg2014-05-121-1/+13
|
* type/base: always use rainbow_colors and overwrite them afterwardsPim van den Berg2014-05-031-3/+4
| | | | | | Since the previous commit [type/base: show tinstances not defined in $this->order in graph] all type instances that are not defined in the plugin, are colored black. This way you always have nice colors.
* type/base: show tinstances not defined in $this->order in graphPim van den Berg2014-05-031-6/+5
| | | | | | Previously if $this->order was defined in a graph, only type instances that were defined in $this->order showed up in the graph. Now it merges $this->order and the type instances.
* rename ds_names and dsname to legendPim van den Berg2014-05-0345-150/+150
| | | | This had nothing to do with an RRD data source.
* type/base: set default values for rrd_title and rrd_formatPim van den Berg2014-05-031-1/+2
|
* move collectd_flush function to base classPim van den Berg2014-05-0353-169/+75
|
* type: move generic functions to base classPim van den Berg2014-05-035-300/+306
|
* type/Default: don't depend on external function GETPim van den Berg2014-05-0351-80/+78
|
* inc: mv graphs_from_plugin, build_url functions to html.inc.phpPim van den Berg2014-05-032-70/+68
| | | | They generate html.
* inc/collectd: consistently return false instead of an empty array or falsePim van den Berg2014-05-033-21/+19
| | | | | | | | | This means we have to check the return value of these functions for example before doing a foreach. We can't just do a foreach and assume the return value of a function is an array, while it can be false and results in a PHP warning. Closes: https://github.com/pommi/CGP/pull/68
* plugin/memory: add osx/bsd ds_names to order, set color of active to ff00ffPim van den Berg2014-05-011-2/+2
| | | | Closes: https://github.com/pommi/CGP/issues/67
* plugin/memory: add support for osx/bsdPim van den Berg2014-04-281-0/+8
| | | | Closes: https://github.com/pommi/CGP/issues/67
* plugin/df: fix support for collectd 4Pim van den Berg2014-04-151-0/+1
| | | | | | | Support for collectd 4 was broken since commit: v0.4.1-52-g0c50eff [Plugin/df: Add support for inode graphs] Closes: https://github.com/pommi/CGP/issues/64
* overview: disable showmem by default, add percent signPim van den Berg2014-04-152-26/+26
| | | | And change all spaces to tabs.
* overview: show used memory percentageBogdan Rădulescu2014-04-142-2/+27
|
* Merge pull request #61 from young-druid/patch-1Pim van den Berg2014-04-091-1/+1
|\ | | | | fix: return operator prevents us from seeing a graph
| * fix: return operator prevents us from seeing a graphyoung-druid2014-04-081-1/+1
|/
* overview: only calculate cores when config option showload is enabledPim van den Berg2014-04-061-2/+2
| | | | Closes: https://github.com/pommi/CGP/issues/60
* add SVG graph supportPim van den Berg2014-03-233-7/+25
|
* plugin/aggregation: cpu: allow 4 digitsThomas Harold2014-03-231-1/+1
|
* plugin: add aggregation pluginPim van den Berg2014-03-231-0/+48
|
* plugin: add ipmi pluginThomas Harold2014-03-231-0/+45
|
* inc/functions.inc.php: rm trailing slash in base and resolve symlinkPim van den Berg2014-03-231-0/+5
| | | | | | | When there was a symlink in the path of $base, strpos($realpath, $base) would have always return false. Closes: https://github.com/pommi/CGP/pull/49
* type/Default: also escape * and ? in identifier before globPim van den Berg2014-03-231-1/+1
|
* type/Default: escape brackets in identifier before globPim van den Berg2014-03-221-0/+1
|
* Merge pull request #51 from bobonlog/masterPim van den Berg2014-03-221-0/+18
|\ | | | | dbi.php
| * Create dbi.phpbobonlog2014-03-031-0/+18
| |
* | type/Default: merge file2identifier function into rrd_filesPim van den Berg2014-03-221-12/+2
| |
* | add rrdcached flush supportPim van den Berg2014-03-222-31/+49
| |
* | inc/collectd.inc.php: use RegexIterator + strip $dir from resultPim van den Berg2014-03-221-8/+7
| |
* | inc/collectd.inc.php: replace glob by php5 iteratorsŁukasz Kostka2014-03-221-2/+23
| |
* | mod_rewrite final cleanupsepich2014-03-212-3/+3
|/
* host.php: remove immediate end tag in fieldsetPim van den Berg2014-02-101-1/+1
|
* use & instead of & in htmlPim van den Berg2014-02-102-5/+5
|
* Plugin/nut: Add support for power graphsVincent Brillault2014-02-101-0/+7
|
* Plugin/df: Add support for inode graphsVincent Brillault2014-02-101-3/+12
|
* add graph_type "hybrid" to show canvas on detail page, png on the othersPim van den Berg2014-01-122-1/+5
|
* Add a configuration option for sync/async choice for the canvas graphsVincent Brillault2014-01-125-22/+56
|
* jsrrdgraph: CGP.js: split draw(id) into prepare_draw(id) and draw(id)Vincent Brillault2014-01-121-1/+7
|
* jsrrdgraph: Change alter for thowManuel Luis Sanmartín Rozada2014-01-121-4/+2
|
* jsrrdgraph: RrdGraph.js: Add RrdGraph.prototype.graph_paint_async methodVincent Brillault2014-01-121-0/+93
|
* jsrrdgraph: RrdDataFile.js: Add async function (fetch_async) to RrdDataFileVincent Brillault2014-01-121-0/+39
|
* jsrrdgraph: RrdGraph.js: splitting RrdGraph.prototype.graph_paint into init, ↵Vincent Brillault2014-01-121-3/+13
| | | | fetch and draw
* jsrrdgraph: RrdGraph.js: fix some indentationVincent Brillault2014-01-121-4/+4
|
* jsrrdgraph: RrdDataFile.js: splitting fetch into fetch & buildVincent Brillault2014-01-121-10/+15
|
* jsrrdgraph: RrdDataFile.js: fix space/tabulationVincent Brillault2014-01-121-21/+21
|
* Merge pull request #41 from oohlaf/nginxPim van den Berg2014-01-021-0/+15
|\ | | | | Nginx plugin changed DS types
| * Nginx plugin changed DS typesOlaf Conradi2014-01-021-0/+15
| | | | | | | | See https://github.com/collectd/collectd/pull/227
* | Merge pull request #40 from oohlaf/apcupsdPim van den Berg2014-01-021-1/+1
|\ \ | |/ |/| Time left is in seconds (plugin apcupsd)