aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/type (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-03-23add SVG graph supportPim van den Berg1-3/+20
2014-03-23type/Default: also escape * and ? in identifier before globPim van den Berg1-1/+1
2014-03-22type/Default: escape brackets in identifier before globPim van den Berg1-0/+1
2014-03-22type/Default: merge file2identifier function into rrd_filesPim van den Berg1-12/+2
2014-03-21mod_rewrite final cleanupsepich1-2/+2
2013-12-29fix heigth -> height typoPim van den Berg1-4/+4
2013-11-14Escape parentheses in filenamesJohan Bergström1-2/+2
The IPMI collectd plugin uses parentheses in filenames (`fanspeed-FAN 1 fan_cooling (29.1).rrd`), so we need to escape them before passing them to rrdtool.
2013-10-09Revert "type: fix undefined index in ds_names[$source] before empty check"Pim van den Berg4-4/+4
From the docs: "No warning is generated if the variable does not exist. That means empty() is essentially the concise equivalent to !isset($var) || $var == false." This reverts commit f2a4593558b3a3ec696e9cc1de93fa898b9521bb. Reported-By: Benoit Monin (https://github.com/pommi/CGP/commit/f2a4593)
2013-10-07type: fix undefined index in ds_names[$source] before empty checkPim van den Berg4-4/+4
2013-10-07type/GenericStacked: make stack NaN-safe using ADDNAN instead of +Pim van den Berg1-1/+1
Reported-By: Julien Genestoux <julien.genestoux@gmail.com> (https://github.com/pommi/CGP/issues/24)
2013-08-31type: use empty to access ds_namesBenoît Monin3-3/+3
Fix some potential undefined index errors by using the empty function to access ds_names in type other than default.
2013-08-31type/default: fix 'undefined index' in rrd_gen_graphBenoît Monin1-1/+1
Fix php notices emitted when generating graphs of ping, sensors and hddtemp plugins.
2013-08-24type/default: escape spaces in filenamesPim van den Berg1-0/+3
2013-08-04type/default: urlencode filenames when using canvasPim van den Berg1-0/+2
Since commit v0.3-97-g5793a8c [integrate jsrrdgraph in CGP], double quotes have been removed around filenames and legend because it shouldn't be necessary (and jsrrdgraph didn't support it). This broke graphs rendered using jsrrdgraph with files including spaces in it's name. Hopefully this is fixed now by rawurlencoding them (but the /).
2013-08-04type/default: double escape colon in legend/filename when not using canvasPim van den Berg1-1/+7
Since commit v0.3-97-g5793a8c [integrate jsrrdgraph in CGP], double quotes have been removed around filenames and legend because it shouldn't be necessary (and jsrrdgraph didn't support it). This broke graphs rendered by rrdtool with files including a colon in it's name. Hopefully this is fixed now by double escaping them. Reported-by: Poil <poil@quake.fr> (https://github.com/pommi/CGP/issues/20)
2013-07-03type/default: dont include y-axis description (-v option) when not setPim van den Berg1-1/+2
It caused an "Unknown argument: undefined" error when using canvas.
2013-05-20remove dependency on mod_rewrite for rrd.phpPim van den Berg1-1/+1
Use $_SERVER['PATH_INFO'] instead.
2013-05-18add config option for showing smooth (curved) graphsPim van den Berg1-0/+4
2013-05-18type/default: add missing initial variable definitionsPim van den Berg1-0/+2
2013-05-18add support for graphing I/O using the negative X-axisPim van den Berg2-5/+12
2013-05-18integrate jsrrdgraph in CGPPim van den Berg4-53/+77
2013-05-13move width/heigth from plugins to type __constructPim van den Berg1-0/+4
2013-05-10type: stick to the rrdgraph time specificationPim van den Berg1-1/+1
Reference: http://rrdtool.mirror.graemef.net/doc/rrdfetch.en.html#IAT_STYLE_TIME_SPECIFICATION
2012-12-21type/default: resolve division by zero warningPim van den Berg1-1/+1
Reported-by: Philipp Hellmich <Philipp.Hellmich@Bertelsmann.de>
2012-12-21type: resolve undefined variable $c and $raw noticesPim van den Berg3-3/+3
Reported-by: Philipp Hellmich <Philipp.Hellmich@Bertelsmann.de>
2012-12-16type: escape colons in legend namesPim van den Berg4-4/+4
This problem showed up with IPv6 addresses in the NTP plugin. Forgotten in commit: v0.3-51-g330c94f [type: escape colons in filenames used in rrd commandline]
2012-12-16type: add debug option "cmd" create a commandline rrdtool commandPim van den Berg1-0/+6
2012-10-20explicitely defined undefined variablesMatthias Viehweger2-0/+6
this should keep the error.log clean
2012-10-20change whitespace, indentation or line-breaksMatthias Viehweger1-1/+1
2012-09-07add support for varnish plugin categoriesPim van den Berg1-3/+9
Since commit collectd-4.10.0-88-g02e12db the varnish plugin groups collected values in categories. The collectd filestructure used for varnish is now: <plugin>-<category>-<plugin_instance>/<type>-<type_instance> Because this isn't distinguishable from a regular plugin like df, ... df-var-tmp/df_complex-free.rrd ("var" isn't the category here) ... the category is only set with the varnish plugin. Reported-by: Jonathan Huot <jonathan.huot@gmail.com>
2012-08-10type: add scale support to default/generic stacked typesPim van den Berg2-6/+32
2012-08-10type/GenericIO: only use raw totals when no scale is set (update)Pim van den Berg1-1/+1
This is a correction to commit: v0.3-56-g69bea69 [only use raw totals when no scale is set]
2012-07-15type/GenericIO: only use raw totals when no scale is setPim van den Berg1-1/+2
When scale is set, the total will be set twice (also in part below), which will result in this error: "ERROR: Attempting to reuse 'tot_98574167'" Bug introduced in commit: v0.3-25-g19ed46a [type/GenericIO: add total calculations in IO graphs]
2011-08-27type: escape colons in filenames used in rrd commandlinePim van den Berg4-11/+15
A colon ':' in a legend argument will mark the end of the legend: http://oss.oetiker.ch/rrdtool/doc/rrdgraph_graph.en.html#INOTES_on_legend_arguments Reported-by: Benjamin Dupuis <poil@quake.fr>
2011-06-26type/Default: dont use t as ti when no ti is setPim van den Berg1-1/+1
Use 'value' instead.
2011-04-21resolve php noticesKarol Nowacki1-13/+13
Including a lot of undefined $_GET values.
2011-04-10use tinstance for legend label when data_sources is not set by pluginPim van den Berg1-2/+7
2011-04-05type/GenericIO: add total calculations in IO graphsyur1-1/+4
2011-02-05replace function generate_colors by rainbow_colorsPim van den Berg1-20/+21
When no colors are defined they will be generated by function rainbow_colors.
2010-09-17automatic alignment of graph legendPim van den Berg1-13/+15
Function fill_ds_names is renamed to parse_ds_names and now also appends spaces to ds_names to make them equal of lenght.
2010-09-11type/default: dont strip 1st char from instance name when there is no type ↵Pim van den Berg1-1/+3
instance
2010-06-22Uptime plugin now display current/max/avg values in days instead of secondsManuel CISSÉ1-0/+64
2010-05-17a source (type instance or data source) may contain dotsPim van den Berg1-1/+0
Like mentioned in the comment on the website below, I think there is no problem a source contains dots. For now, this line is removed. http://pommi.nethuis.nl/2010/01/collectd-graph-panel-v0-2/#comment-177
2010-05-13Allow to define alternate options for rrdtool in config fileEdmondo Tommasina1-0/+4
Since I'm using a non standard installation of rrdtool, I always have to define the --font options when colling the rrdtool binary. I tried to implement this change in a general way to define locally rrdtool options in the config.local.php. Signed-off-by: Edmondo Tommasina <edmondo@eriadon.com>
2010-05-13fix: renumber keys of intersected array in function rrd_get_sourcesPim van den Berg1-1/+1
Since commit 95c70c919 [rewrite of type classes] cpu graphs of hosts running a 2.4 Linux kernel or Solaris were not displayed. Function rrd_get_sources must return an array with a consecutive index of numbers.
2010-03-21fix: file2identifier must return identifiers (not basenames)Pim van den Berg1-1/+2
The identifier is needed to send the FLUSH command to the UnixSock plugin. Partly revert of commit: 596dd7d41 [make rrdfiles using utf8 and spaces work]
2010-03-01correct a bug when graphing multiple DS in multiple filesManuel CISSÉ1-2/+2
2010-03-01add the possibility to generate and use default colors for graphsManuel CISSÉ2-4/+35
2010-03-01autofill DS names when not specifiedManuel CISSÉ1-0/+18
2010-03-01add the ability to graph multiple DS in multiple files (used by vmem plugin)Manuel CISSÉ1-2/+13