aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/graph.php (follow)
Commit message (Collapse)AuthorAgeFilesLines
* resolve php noticesKarol Nowacki2011-04-211-2/+2
| | | | Including a lot of undefined $_GET values.
* remove php gd dependencyPim van den Berg2010-06-051-16/+4
| | | | | | Image error messages were shown using PHP GD. People who haven't installed PHP GD don't understand what is going on when an image is not shown. It is replaced by a static image referring to the error log for more information.
* better validation of possible user input (get)Pim van den Berg2010-01-011-4/+7
|
* rewrite of type classesPim van den Berg2009-12-311-10/+4
| | | | | | | | | | | | | | | | | 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.
* make width and heigth of graphs configurablePim van den Berg2009-09-291-2/+2
| | | | | | | | These configuration options have been added: - width - heigth - detail-width - detail-heigth
* initial import of cgpPim van den Berg2009-09-201-0/+39
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.