Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge remote-tracking branch 'feandil/time_range' | Pim van den Berg | 2014-06-28 | 1 | -0/+1 |
|\ | |||||
| * | Use config time_range for canvas graphs | Vincent Brillault | 2014-06-28 | 1 | -0/+1 |
| | | |||||
* | | Keep the list of plugins sorted | Vincent Brillault | 2014-06-28 | 1 | -0/+1 |
|/ | |||||
* | Add support for multiple types db | Dao-hui Chen | 2014-06-11 | 1 | -16/+23 |
| | |||||
* | inc/html.inc.php: fix canvas graphs | Pim van den Berg | 2014-05-14 | 1 | -1/+1 |
| | | | | Include graph.php instead of non-existing plugin/$plugin.php. | ||||
* | graph.php: use JSON plugins instead of including PHP plugin files | Pim van den Berg | 2014-05-12 | 2 | -0/+211 |
| | | | | | | | | | | | | 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. | ||||
* | move collectd_flush function to base class | Pim van den Berg | 2014-05-03 | 2 | -66/+5 |
| | |||||
* | inc: mv graphs_from_plugin, build_url functions to html.inc.php | Pim van den Berg | 2014-05-03 | 2 | -70/+68 |
| | | | | They generate html. | ||||
* | inc/collectd: consistently return false instead of an empty array or false | Pim van den Berg | 2014-05-03 | 1 | -15/+17 |
| | | | | | | | | | This means we have to check the return value of these functions for example before doing a foreach. We can't just do a foreach and assume the return value of a function is an array, while it can be false and results in a PHP warning. Closes: https://github.com/pommi/CGP/pull/68 | ||||
* | overview: disable showmem by default, add percent sign | Pim van den Berg | 2014-04-15 | 1 | -25/+25 |
| | | | | And change all spaces to tabs. | ||||
* | overview: show used memory percentage | Bogdan Rădulescu | 2014-04-14 | 1 | -1/+25 |
| | |||||
* | overview: only calculate cores when config option showload is enabled | Pim van den Berg | 2014-04-06 | 1 | -2/+2 |
| | | | | Closes: https://github.com/pommi/CGP/issues/60 | ||||
* | inc/functions.inc.php: rm trailing slash in base and resolve symlink | Pim van den Berg | 2014-03-23 | 1 | -0/+5 |
| | | | | | | | When there was a symlink in the path of $base, strpos($realpath, $base) would have always return false. Closes: https://github.com/pommi/CGP/pull/49 | ||||
* | add rrdcached flush support | Pim van den Berg | 2014-03-22 | 1 | -31/+44 |
| | |||||
* | inc/collectd.inc.php: use RegexIterator + strip $dir from result | Pim van den Berg | 2014-03-22 | 1 | -8/+7 |
| | |||||
* | inc/collectd.inc.php: replace glob by php5 iterators | Łukasz Kostka | 2014-03-22 | 1 | -2/+23 |
| | |||||
* | use & instead of & in html | Pim van den Berg | 2014-02-10 | 2 | -5/+5 |
| | |||||
* | Add a configuration option for sync/async choice for the canvas graphs | Vincent Brillault | 2014-01-12 | 1 | -0/+11 |
| | |||||
* | automatic page refresh support + config setting | Pim van den Berg | 2013-12-29 | 1 | -0/+6 |
| | | | | Closes: https://github.com/pommi/CGP/pull/35 | ||||
* | inc/collectd.inc.php: typo | Pim van den Berg | 2013-08-24 | 1 | -1/+1 |
| | |||||
* | inc/collectd.inc.php: don't group type instances when snmp + if_octets | Pim van den Berg | 2013-08-24 | 1 | -1/+4 |
| | | | | | | | | The snmp plugin is saving if_octets this way: <host>/snmp/if_octets-<port>.rrd Where the interfaces plugin is saving if_octets with this structure: <host>/interface-<port>/if_octets.rrd | ||||
* | add viewport meta tag for better experience on mobile devices | Pim van den Berg | 2013-06-22 | 1 | -0/+1 |
| | |||||
* | overview: add color to load averages | Pim van den Berg | 2013-06-22 | 1 | -4/+11 |
| | | | | | | | | | | The load average number turns: * orange When the load is higher than the number of cpu cores. * red When the load is more than twice as high as the number of cpu cores. | ||||
* | start using fieldset + legend for showing data | Pim van den Berg | 2013-06-22 | 1 | -3/+6 |
| | |||||
* | integrate jsrrdgraph in CGP | Pim van den Berg | 2013-05-18 | 3 | -6/+61 |
| | |||||
* | rewrite some code of added overview_filter feature | Pim van den Berg | 2013-03-30 | 1 | -7/+4 |
| | | | | Use less variables, less code. | ||||
* | add feature to show a subset of graphs from a plugin on overview page | Rohit Bhute | 2013-03-30 | 1 | -1/+12 |
| | |||||
* | inc/collectd.inc.php: remove . and .. from scandir before foreach | Pim van den Berg | 2013-02-09 | 1 | -2/+2 |
| | | | | Reported-by: Reza (http://pommi.nethuis.nl/collectd-graph-panel-v0-3/#comment-26990) | ||||
* | remove arguments overview_plugins and other_plugins from plugins_list function | Pim van den Berg | 2012-12-28 | 1 | -11/+24 |
| | | | | Those can be gathered within the function. | ||||
* | don't show plugins the host doesn't have | Pim van den Berg | 2012-12-28 | 1 | -2/+4 |
| | |||||
* | resolve php warning/notices when plugin doesn't exist | Pim van den Berg | 2012-12-28 | 2 | -0/+9 |
| | | | | | For example when a non existing plugin is defined in $CONFIG['overview'] it causes a lot of php warnings/notices. | ||||
* | remove ajax js code | Pim van den Berg | 2012-12-21 | 1 | -1/+0 |
| | | | | This isn't needed with the new navigation menu anymore. | ||||
* | remove in-html comments by xian310 | Pim van den Berg | 2012-12-21 | 1 | -1/+1 |
| | |||||
* | replace the ajax expand system by a navigation menu | xian310 | 2012-12-21 | 1 | -12/+47 |
| | | | | Signed-off-by: Pim van den Berg <pim@nethuis.nl> | ||||
* | explicitely defined undefined variables | Matthias Viehweger | 2012-10-20 | 1 | -4/+4 |
| | | | | this should keep the error.log clean | ||||
* | change whitespace, indentation or line-breaks | Matthias Viehweger | 2012-10-20 | 1 | -4/+4 |
| | |||||
* | add support for varnish plugin categories | Pim van den Berg | 2012-09-07 | 2 | -21/+18 |
| | | | | | | | | | | | | | | | Since commit collectd-4.10.0-88-g02e12db the varnish plugin groups collected values in categories. The collectd filestructure used for varnish is now: <plugin>-<category>-<plugin_instance>/<type>-<type_instance> Because this isn't distinguishable from a regular plugin like df, ... df-var-tmp/df_complex-free.rrd ("var" isn't the category here) ... the category is only set with the varnish plugin. Reported-by: Jonathan Huot <jonathan.huot@gmail.com> | ||||
* | order graphs by pi, t, ti | Pim van den Berg | 2011-12-03 | 1 | -0/+13 |
| | |||||
* | include trailing slash in config weburl variable | Pim van den Berg | 2011-10-08 | 2 | -6/+6 |
| | | | | | | | 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> | ||||
* | plugin/libvirt: collectd 5 compatibility | Pim van den Berg | 2011-07-04 | 1 | -2/+3 |
| | |||||
* | plugin: add libvirt plugin | Pim van den Berg | 2011-07-04 | 1 | -1/+1 |
| | |||||
* | log unixsock errors instead of printing them | Pim van den Berg | 2011-06-15 | 1 | -6/+6 |
| | | | | | These errors got concatenated in front of the image, which resulted in an invalid image. | ||||
* | resolve php notices | Karol Nowacki | 2011-04-21 | 2 | -10/+17 |
| | | | | Including a lot of undefined $_GET values. | ||||
* | fallback to non-annotated tags in version detection | Pim van den Berg | 2011-03-10 | 1 | -1/+1 |
| | |||||
* | add version information to footer | Pim van den Berg | 2011-03-09 | 1 | -1/+15 |
| | |||||
* | add links to footer | Pim van den Berg | 2011-03-01 | 1 | -1/+2 |
| | |||||
* | inc/collectd: improve determining which files to group in 1 graph | Pim van den Berg | 2010-10-04 | 1 | -33/+44 |
| | | | | | | | | | | | | Previously graphs were created by collecting and merging all PIs, Ts and TIs separately. This went wrong when a part of a plugin had a PI and another part had not (processes plugin). It also went wrong when a P-PI combination had different Ts and TIs (bind plugin). This is solved by using grouped and deduplicated plugindata. -- P = plugin, PI = plugin instance, T = type, TI = type instance | ||||
* | inc/collectd: simplify the way collectd_plugindata gathers its data | Pim van den Berg | 2010-09-19 | 1 | -23/+10 |
| | | | | A couple of preg_replaces are replaced by one simple but effective preg_match. | ||||
* | default graph time range is now configurable (not only for uptime) | Pim van den Berg | 2010-06-26 | 1 | -3/+5 |
| | |||||
* | use the same time range for the link to the detail page | Pim van den Berg | 2010-06-22 | 1 | -4/+7 |
| |