aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-02-16make rrdfiles using utf8 and spaces workJakob Haufe1-3/+6
2010-01-12add compatibility if rrdinfo doesn't work as expectedPim van den Berg1-3/+17
2010-01-12make rrdtool executable configurablePim van den Berg2-2/+13
2010-01-01show all type instances in one graphPim van den Berg1-1/+3
Planned for collectd version 5.0 is to move the type instance of plugins df and interface to the plugin instance (see source). From version 5.0 the default is to group data from a type instance OR data source in one graph. In case of version 4 there are only 2 plugins to exclude from this: df and interface. Source: http://collectd.org/wiki/index.php/Plans_for_5.0
2010-01-01better validation of possible user input (get)Pim van den Berg3-5/+37
2009-12-31rewrite of type classesPim van den Berg1-17/+0
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 plugin_headerPim van den Berg1-0/+16
2009-12-05load plugins on the host page via ajaxPim van den Berg1-0/+1
2009-11-04code cleanup in rrdtool classPim van den Berg1-3/+0
2009-11-04add unixsock flush supportPim van den Berg2-0/+83
Via the UnixSock plugin of Collectd it is possible to send commands to the Collectd daemon. One of the commands is the FLUSH command, which you can use to let the daemon write cached data to the rrd files. CGP uses the FLUSH command before generating a graph and before showing the load information on the main page. In this case the information shown via CGP is always up-to-date. Also when you have configured the RRDTool plugin of Collectd with a CacheTimeout setting. This commit includes code based on functions collectd_identifier and collectd_flush from php-collection by Bruno Prémont.
2009-10-25make dynamic title more detailedPim van den Berg1-4/+17
Include information in the title about the host, plugin, plugin instance, type and type instance.
2009-10-11remove code duplication from function graphs_from_pluginPim van den Berg1-21/+5
2009-10-10dynamic titlePim van den Berg1-1/+7
Show the host and plugin in the title to have a better browsing history.
2009-09-29make width and heigth of graphs configurablePim van den Berg1-2/+2
These configuration options have been added: - width - heigth - detail-width - detail-heigth
2009-09-29layout improvement based on daniel's patchPim van den Berg1-0/+9
The page is divided into a header, content and footer. It is styled better and the header links to the main page. Patch from Daniel von Fange (Leancoder): http://pommi.nethuis.nl/storage/software/cgp/leancoder-css.cgp-v-0-1.patch
2009-09-28change webdir/weburl and include/require usagePim van den Berg1-3/+5
- Don't depend on includes from files that are included. - Don't use webdir with includes/requires (also because webdir couldn't be available in some cases). - Use common.inc.php instead of config.php in all plugins to have all configuration settings available.
2009-09-23add a footer to each pagePim van den Berg1-0/+1