aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/conf (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Support for host categories bases on regular expression matching against ↵Mark Nellemann2015-08-261-0/+3
| | | | host names
* plugin: move local plugins from conf/plugin to plugin/localPim van den Berg2015-06-221-2/+0
|
* Adding support for local plugin json to override the global stuffDavid Severwright2015-06-221-0/+1
|
* Adding option to show time since last update on dashboard.David Severwright2014-12-131-0/+1
| | | | Closes #110
* Support customized RRD URLsPeter Wu2014-08-101-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 '='.
* Remove from all files the ending php tagFrançois LASSERRE2014-07-231-2/+0
|
* conf: replace [] by array() to support PHP < 5.4Pim van den Berg2014-07-221-1/+1
|
* Use a more secure command line building methodPeter Wu2014-07-201-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.
* type/default: optionally draw min/max spikes in a lighter color in graphsPim van den Berg2014-07-051-0/+3
| | | | Closes #73
* Merge remote-tracking branch 'dhchen/master'Pim van den Berg2014-06-241-1/+1
|\
| * Add support for multiple types dbDao-hui Chen2014-06-111-1/+1
| |
* | add percentile support to network traffic graphsPim van den Berg2014-06-241-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
* graph.php: use JSON plugins instead of including PHP plugin filesPim van den Berg2014-05-121-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.
* overview: disable showmem by default, add percent signPim van den Berg2014-04-151-1/+1
| | | | And change all spaces to tabs.
* overview: show used memory percentageBogdan Rădulescu2014-04-141-1/+2
|
* add SVG graph supportPim van den Berg2014-03-231-1/+1
|
* add rrdcached flush supportPim van den Berg2014-03-221-0/+5
|
* add graph_type "hybrid" to show canvas on detail page, png on the othersPim van den Berg2014-01-121-1/+1
|
* Add a configuration option for sync/async choice for the canvas graphsVincent Brillault2014-01-121-0/+3
|
* graph: add configurable limit to graph width/heightPim van den Berg2013-12-291-0/+3
| | | | Closes: https://github.com/pommi/CGP/pull/34
* fix heigth -> height typoPim van den Berg2013-12-291-2/+2
|
* automatic page refresh support + config settingPim van den Berg2013-12-291-0/+3
| | | | Closes: https://github.com/pommi/CGP/pull/35
* Add default timezone when system one is missingOlaf Conradi2013-12-282-0/+7
| | | | Suppresses all the PHP warnings in the error logging.
* conf: set default collectd version to 5Pim van den Berg2013-05-201-1/+1
|
* add config option for showing smooth (curved) graphsPim van den Berg2013-05-181-0/+3
|
* add support for graphing I/O using the negative X-axisPim van den Berg2013-05-181-0/+3
|
* integrate jsrrdgraph in CGPPim van den Berg2013-05-181-0/+3
|
* conf: disable overview_filter by defaultPim van den Berg2013-03-301-1/+3
| | | | | It's good to have an example, but it's a bit confusing having it enabled by default.
* add feature to show a subset of graphs from a plugin on overview pageRohit Bhute2013-03-301-0/+2
|
* detail.php: make terms configurablePim van den Berg2013-02-091-0/+10
|
* apply datasize (bytes/bits) only to network related dataPim van den Berg2012-09-051-1/+1
| | | | As discussed in https://github.com/pommi/CGP/pull/1.
* introduce config option datasize to show graphs in bits or bytesPim van den Berg2012-08-101-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>
* include trailing slash in config weburl variablePim van den Berg2011-10-081-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>
* include local configuration file oncePim van den Berg2011-02-071-1/+1
| | | | | When config.php was copied to config.inc.php it would result in a infinite include loop.
* default graph time range is now configurable (not only for uptime)Pim van den Berg2010-06-261-1/+2
|
* Default time range on the summary page is now configurableManuel CISSÉ2010-06-221-0/+3
|
* Allow to define alternate options for rrdtool in config fileEdmondo Tommasina2010-05-131-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>
* configuration option to show load averages on overview pagePim van den Berg2010-03-061-0/+3
|
* make browser cache time for images configurablePim van den Berg2010-01-121-0/+3
|
* make rrdtool executable configurablePim van den Berg2010-01-121-0/+3
|
* show all type instances in one graphPim van den Berg2010-01-011-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
* add descriptions to configuration settingsPim van den Berg2009-11-041-6/+13
|
* add unixsock flush supportPim van den Berg2009-11-041-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.
* make width and heigth of graphs configurablePim van den Berg2009-09-291-0/+7
| | | | | | | | These configuration options have been added: - width - heigth - detail-width - detail-heigth
* include local config if it existsPim van den Berg2009-09-231-1/+2
| | | | CPG is designed to run out-of-the box. The local config is optional.
* initial import of cgpPim van den Berg2009-09-203-0/+28
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.