Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2010-02-16 | make rrdfiles using utf8 and spaces work | Jakob Haufe | 1 | -16/+16 | |
2010-01-12 | make browser cache time for images configurable | Pim van den Berg | 1 | -1/+4 | |
2010-01-12 | make rrdtool executable configurable | Pim van den Berg | 1 | -3/+6 | |
2009-12-31 | rewrite of type classes | Pim van den Berg | 1 | -47/+95 | |
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-31 | always show 'on $host' in the rrd title | Pim van den Berg | 1 | -1/+1 | |
'on $host' doesn't have to be added manually to rrd_title anymore. | |||||
2009-12-28 | replace duplicate code by function rrd_options | Pim van den Berg | 1 | -3/+9 | |
2009-11-04 | remove path_format from plugins | Pim van den Berg | 1 | -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. |