aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/type/GenericStacked.class.php (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-05-03rename ds_names and dsname to legendPim van den Berg1-2/+2
This had nothing to do with an RRD data source.
2014-05-03type: move generic functions to base classPim van den Berg1-2/+2
2013-10-09Revert "type: fix undefined index in ds_names[$source] before empty check"Pim van den Berg1-1/+1
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 Berg1-1/+1
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 Monin1-1/+1
Fix some potential undefined index errors by using the empty function to access ds_names in type other than default.
2013-05-18integrate jsrrdgraph in CGPPim van den Berg1-8/+8
2012-12-21type: resolve undefined variable $c and $raw noticesPim van den Berg1-3/+1
Reported-by: Philipp Hellmich <Philipp.Hellmich@Bertelsmann.de>
2012-12-16type: escape colons in legend namesPim van den Berg1-1/+1
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-10-20explicitely defined undefined variablesMatthias Viehweger1-0/+3
this should keep the error.log clean
2012-08-10type: add scale support to default/generic stacked typesPim van den Berg1-3/+16
2011-08-27type: escape colons in filenames used in rrd commandlinePim van den Berg1-3/+3
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>
2010-03-01add the possibility to generate and use default colors for graphsManuel CISSÉ1-2/+6
2010-03-01utf8 filename support for all typesPim van den Berg1-11/+11
Types GenenericIO and GenericStacked were not included in commit: 596dd7d414 [make rrdfiles using utf8 and spaces work]
2009-12-31rewrite of type classesPim van den Berg1-37/+22
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.
2009-12-28replace duplicate code by function rrd_optionsPim van den Berg1-7/+1
2009-10-03cpu graph for hosts running a 2.4 kernelPim van den Berg1-1/+4
There was no cpu graph shown with hosts running a 2.4 kernel, because all defined cpu states were needed.