aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/type (follow)
Commit message (Collapse)AuthorAgeFilesLines
* remove dependency on mod_rewrite for rrd.phpPim van den Berg2013-05-201-1/+1
| | | | Use $_SERVER['PATH_INFO'] instead.
* add config option for showing smooth (curved) graphsPim van den Berg2013-05-181-0/+4
|
* type/default: add missing initial variable definitionsPim van den Berg2013-05-181-0/+2
|
* add support for graphing I/O using the negative X-axisPim van den Berg2013-05-182-5/+12
|
* integrate jsrrdgraph in CGPPim van den Berg2013-05-184-53/+77
|
* move width/heigth from plugins to type __constructPim van den Berg2013-05-131-0/+4
|
* type: stick to the rrdgraph time specificationPim van den Berg2013-05-101-1/+1
| | | | Reference: http://rrdtool.mirror.graemef.net/doc/rrdfetch.en.html#IAT_STYLE_TIME_SPECIFICATION
* type/default: resolve division by zero warningPim van den Berg2012-12-211-1/+1
| | | | Reported-by: Philipp Hellmich <Philipp.Hellmich@Bertelsmann.de>
* type: resolve undefined variable $c and $raw noticesPim van den Berg2012-12-213-3/+3
| | | | Reported-by: Philipp Hellmich <Philipp.Hellmich@Bertelsmann.de>
* type: escape colons in legend namesPim van den Berg2012-12-164-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]
* type: add debug option "cmd" create a commandline rrdtool commandPim van den Berg2012-12-161-0/+6
|
* explicitely defined undefined variablesMatthias Viehweger2012-10-202-0/+6
| | | | this should keep the error.log clean
* change whitespace, indentation or line-breaksMatthias Viehweger2012-10-201-1/+1
|
* add support for varnish plugin categoriesPim van den Berg2012-09-071-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>
* type: add scale support to default/generic stacked typesPim van den Berg2012-08-102-6/+32
|
* type/GenericIO: only use raw totals when no scale is set (update)Pim van den Berg2012-08-101-1/+1
| | | | | This is a correction to commit: v0.3-56-g69bea69 [only use raw totals when no scale is set]
* type/GenericIO: only use raw totals when no scale is setPim van den Berg2012-07-151-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]
* type: escape colons in filenames used in rrd commandlinePim van den Berg2011-08-274-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>
* type/Default: dont use t as ti when no ti is setPim van den Berg2011-06-261-1/+1
| | | | Use 'value' instead.
* resolve php noticesKarol Nowacki2011-04-211-13/+13
| | | | Including a lot of undefined $_GET values.
* use tinstance for legend label when data_sources is not set by pluginPim van den Berg2011-04-101-2/+7
|
* type/GenericIO: add total calculations in IO graphsyur2011-04-051-1/+4
|
* replace function generate_colors by rainbow_colorsPim van den Berg2011-02-051-20/+21
| | | | When no colors are defined they will be generated by function rainbow_colors.
* automatic alignment of graph legendPim van den Berg2010-09-171-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.
* type/default: dont strip 1st char from instance name when there is no type ↵Pim van den Berg2010-09-111-1/+3
| | | | instance
* Uptime plugin now display current/max/avg values in days instead of secondsManuel CISSÉ2010-06-221-0/+64
|
* a source (type instance or data source) may contain dotsPim van den Berg2010-05-171-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
* Allow to define alternate options for rrdtool in config fileEdmondo Tommasina2010-05-131-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>
* fix: renumber keys of intersected array in function rrd_get_sourcesPim van den Berg2010-05-131-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.
* fix: file2identifier must return identifiers (not basenames)Pim van den Berg2010-03-211-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]
* correct a bug when graphing multiple DS in multiple filesManuel CISSÉ2010-03-011-2/+2
|
* add the possibility to generate and use default colors for graphsManuel CISSÉ2010-03-012-4/+35
|
* autofill DS names when not specifiedManuel CISSÉ2010-03-011-0/+18
|
* add the ability to graph multiple DS in multiple files (used by vmem plugin)Manuel CISSÉ2010-03-011-2/+13
|
* utf8 filename support for all typesPim van den Berg2010-03-012-24/+24
| | | | | Types GenenericIO and GenericStacked were not included in commit: 596dd7d414 [make rrdfiles using utf8 and spaces work]
* make rrdfiles using utf8 and spaces workJakob Haufe2010-02-161-16/+16
|
* make browser cache time for images configurablePim van den Berg2010-01-121-1/+4
|
* make rrdtool executable configurablePim van den Berg2010-01-121-3/+6
|
* rewrite of type classesPim van den Berg2009-12-313-105/+147
| | | | | | | | | | | | | | | | | A constructor is added to the Type_Default class. The constructor will parse GET values (such as host, plugin, pinstance, type, tinstance, seconds), create an array of all needed rrd files to generate a graph and substract identifiers from these rrd files. Because of the constructor (and related functions) it is not needed to define an array of tinstances to be grouped and shown in one graph. Also $obj->args don't have to be defined per plugin. This will result in smaller plugin files. The type classes are based on the fact that a plugin has multiple type instances OR multiple rrd data sources. This is called the source and is retrieved by rrd_get_sources in each rrd_gen_graph function. Also variables in function rrd_gen_graph have been renamed to better ones.
* always show 'on $host' in the rrd titlePim van den Berg2009-12-311-1/+1
| | | | 'on $host' doesn't have to be added manually to rrd_title anymore.
* replace duplicate code by function rrd_optionsPim van den Berg2009-12-283-17/+11
|
* remove path_format from pluginsPim van den Berg2009-11-041-5/+17
| | | | | | | | | The relative path to an rrd file can be generated based on host, plugin, plugin instance, type and type instance. In this case path_format is not needed anymore. This commit includes code based on the collectd_identifier function from php-collection by Bruno Prémont.
* cpu graph for hosts running a 2.4 kernelPim van den Berg2009-10-031-1/+4
| | | | | There was no cpu graph shown with hosts running a 2.4 kernel, because all defined cpu states were needed.
* initial import of cgpPim van den Berg2009-09-203-0/+251
Collectd Graph Panel is a frontend for Collectd written in PHP. The goal of CGP is to provide an easy-to-use frontend for Collectd, starting with page that shows an overview of all the hosts you are managing with Collectd. In this initial import there is support for the plugins that are default enabled in Collectd. The supported plugins are located in the plugin directory.