aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/conf (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-06-22plugin: move local plugins from conf/plugin to plugin/localPim van den Berg1-2/+0
2015-06-22Adding support for local plugin json to override the global stuffDavid Severwright1-0/+1
2014-12-13Adding option to show time since last update on dashboard.David Severwright1-0/+1
Closes #110
2014-08-10Support customized RRD URLsPeter Wu1-0/+5
Use case: I would like to bypass PHP for serving the RRD files and allow the webserver (nginx) to compress it to reduce load on the Raspberry Pi. I could go through all kinds of URL rewriting, but it is much easier to set `$CONFIG['rrd_url'] = 'rrd/{file}';` instead and add a corresponding location + alias directive to the nginx configuration. This depends on https://github.com/manuelluis/jsrrdgraph/pull/17 to avoid breaking on '='.
2014-07-23Remove from all files the ending php tagFrançois LASSERRE1-2/+0
2014-07-22conf: replace [] by array() to support PHP < 5.4Pim van den Berg1-1/+1
2014-07-20Use a more secure command line building methodPeter Wu1-2/+2
Previously, a command is built by string concatenation. Here, the distinction between a value and multiple params got lost. Solve this by using an array for shell arguments. As the escaping is now removed from the `rrd_gen_graph` function, the canvas style needs to manually add those quotes to make the JS code still work. That only supports double-quotes, so hopefully nobody creates a name with a double quote as that would break the fragile JS command line parser. Separate the rrdtool options from the rrdtool graph command to make the `$graph_type == 'canvas'` option work (it would otherwise not understand the `rrdtool graph - -a PNG` option). Merge the SVG and PNG cases as they are the same except for the Content-Type header. Fix a missing html escape in a debug style.
2014-07-05type/default: optionally draw min/max spikes in a lighter color in graphsPim van den Berg1-0/+3
Closes #73
2014-06-24add percentile support to network traffic graphsPim van den Berg1-0/+4
Set $CONFIG['percentile'] to a number and a XXth percentile line + legend will be added to all network traffic (if_octets) graphs. Closes #81
2014-06-11Add support for multiple types dbDao-hui Chen1-1/+1
2014-05-12graph.php: use JSON plugins instead of including PHP plugin filesPim van den Berg1-0/+3
A couple of big changes here. A lot of logic moved to graph.php. The PHP plugin files have been rewritten to JSON. In these JSON files *everything* is optional. Also *NOT* having a JSON plugin file won't block you from having a graph. The JSON will just make the graphs prettier (by having a title, y-axis title, legend, colors, etc..). The Collectd types.db file is parsed and used to determine RRD content. When things are not defined in the JSON it will fallback to a default.
2014-04-15overview: disable showmem by default, add percent signPim van den Berg1-1/+1
And change all spaces to tabs.
2014-04-14overview: show used memory percentageBogdan Rădulescu1-1/+2
2014-03-23add SVG graph supportPim van den Berg1-1/+1
2014-03-22add rrdcached flush supportPim van den Berg1-0/+5
2014-01-12add graph_type "hybrid" to show canvas on detail page, png on the othersPim van den Berg1-1/+1
2014-01-12Add a configuration option for sync/async choice for the canvas graphsVincent Brillault1-0/+3
2013-12-29graph: add configurable limit to graph width/heightPim van den Berg1-0/+3
Closes: https://github.com/pommi/CGP/pull/34
2013-12-29fix heigth -> height typoPim van den Berg1-2/+2
2013-12-29automatic page refresh support + config settingPim van den Berg1-0/+3
Closes: https://github.com/pommi/CGP/pull/35
2013-12-28Add default timezone when system one is missingOlaf Conradi2-0/+7
Suppresses all the PHP warnings in the error logging.
2013-05-20conf: set default collectd version to 5Pim van den Berg1-1/+1
2013-05-18add config option for showing smooth (curved) graphsPim van den Berg1-0/+3
2013-05-18add support for graphing I/O using the negative X-axisPim van den Berg1-0/+3
2013-05-18integrate jsrrdgraph in CGPPim van den Berg1-0/+3
2013-03-30conf: disable overview_filter by defaultPim van den Berg1-1/+3
It's good to have an example, but it's a bit confusing having it enabled by default.
2013-03-30add feature to show a subset of graphs from a plugin on overview pageRohit Bhute1-0/+2
2013-02-09detail.php: make terms configurablePim van den Berg1-0/+10
2012-09-05apply datasize (bytes/bits) only to network related dataPim van den Berg1-1/+1
As discussed in https://github.com/pommi/CGP/pull/1.
2012-08-10introduce config option datasize to show graphs in bits or bytesPim van den Berg1-0/+3
Config setting $CONFIG['datasize'] can be set to bits or bytes to show graph data in bits or bytes. Inspired-by: Neptune Ning (Plan) <frostyplanet@gmail.com>
2011-10-08include trailing slash in config weburl variablePim van den Berg1-3/+1
When running CGP in the root, the header didn't link to the overview page because the href was empty. Reported-by: Nikoli <Nikoli@lavabit.com>
2011-02-07include local configuration file oncePim van den Berg1-1/+1
When config.php was copied to config.inc.php it would result in a infinite include loop.
2010-06-26default graph time range is now configurable (not only for uptime)Pim van den Berg1-1/+2
2010-06-22Default time range on the summary page is now configurableManuel CISSÉ1-0/+3
2010-05-13Allow to define alternate options for rrdtool in config fileEdmondo Tommasina1-0/+3
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>
2010-03-06configuration option to show load averages on overview pagePim van den Berg1-0/+3
2010-01-12make browser cache time for images configurablePim van den Berg1-0/+3
2010-01-12make rrdtool executable configurablePim van den Berg1-0/+3
2010-01-01show all type instances in one graphPim van den Berg1-10/+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
2009-11-04add descriptions to configuration settingsPim van den Berg1-6/+13
2009-11-04add unixsock flush supportPim van den Berg1-0/+5
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-09-29make width and heigth of graphs configurablePim van den Berg1-0/+7
These configuration options have been added: - width - heigth - detail-width - detail-heigth
2009-09-23include local config if it existsPim van den Berg1-1/+2
CPG is designed to run out-of-the box. The local config is optional.