list_graphs_json action: Export the selector rather than a parameter string.
list_hosts_json action: Create an object for each host.
This should simplify future extensions.
This should simplify future extensions.
Implement the "list_hosts_json" action.
Implement the "list_graphs_json" action.
src/main.c: Call FCGI_Finish() before gl_update().
src/data_provider.c: Call lcc_flush() before querying the data.
Build system: Search for and link with libcollectdclient.
"instance_data_json" action: Implement the "resolution" parameter.
Recalculate the graph dimensions after the page has been loaded.
Update to jQuery 1.4.4.
share/collection.js: Keep visibility when redrawing graphs.
share/collection.js: Add the vertical (y-axis) label.
share/style.css: Set graph height to 300px.
share/collection.conf: Fix the DSName of "ping".
share/collection.js: Implement fetching of more detailed data …
… when the graph is zoomed in.
… when the graph is zoomed in.
Remove the (g)Raphaël libraries.
README: Describe licensing terms of the Highcharts library.
share/collection.js: Add legend label formatter.
share/collection.js: Improve number formatting.
share/collection.js: Fix a typo.
"graph_def_json" action: Make this work with ad-hoc DEFs, too.
share/collection.js: Pass the instance selector to the "graph_def_json" action.
Use the Highchart library to draw graphs.
Use a fixed time-interval for values rather than transfering the time for each value.
share/highcharts.js: Import Highcharts 2.1.1.
Licensed under the Creative Commons Attribution-NonCommercial 3.0 License.
Licensed under the Creative Commons Attribution-NonCommercial 3.0 License.
share/collection.conf: Add configuration for the "tcp_connections" type.
src/utils_cgi.c: Complete the fix: The script was moved to the pkg_libdir, too.
src/utils_cgi.c: Fix paths of included JavaScript and CSS files.
src/graph_list.c: cachefile → cache_file
src/graph_list.c: Honor the "CacheFile" option.
src/graph_config.[ch]: Implement the "CacheFile" config option.
Merge branch 'master' of /var/lib/git/collection4
README: Document the dependency on flex and bison.
.gitignore: Added missing files generated during the build.
src/Makefile: Install collection.fcgi to pkglibdir rather than bindir.
This is not an executable to be executed by the user directly.
This is not an executable to be executed by the user directly.
share/Makefile: Install .css and .js to pkgdatadir rather than datadir.
This is a more appropriate location imho and recommended by FHS 2.3.
This is a more appropriate location imho and recommended by FHS 2.3.
Added simple autogen.sh.
share/collection.conf: Add graphs for the ping plugin.
Add URL of the project homepage.
src/utils_search.c: Safeguard against NULL-pointer errors.
src/graph_ident.c: ident_data_to_json: Average data points ...
... to send between 400 and 800 values. This reduces the time taken to
receive the values sent by the "instance_data_json" action considerably.
We should, however, do this in the data provider function or possibly in
the "instance_data_json" action. Also supporting other CFs would be a
wise move and while we're scanning the data we might compute total
average, minimum and maximum as well.
... to send between 400 and 800 values. This reduces the time taken to
receive the values sent by the "instance_data_json" action considerably.
We should, however, do this in the data provider function or possibly in
the "instance_data_json" action. Also supporting other CFs would be a
wise move and while we're scanning the data we might compute total
average, minimum and maximum as well.
Rename the "graph_data_json" action to "instance_data_json".
Fix compiler warnings.
README: Remove the "change default action" todo.
src/main.c: Change the default action to "list_graphs".
show_instance action: Add a selector for JSON vs. RRD presentation.
share/collection.js: Code cleanup.
src/action_show_instance.c: Fix compiler warning.
show_instance action: Switch to JavaScript-based drawing by default.
show_instance action: Fix the time arguments.
src/graph_ident.c: ident_data_to_json: Include the file name.
show_instance action: Export graph and instance data in a more structured fashion.
src/graph.c: Fix NULL-pointer dereference.
show_instance action: Add a very simple first scetch of a JavaScript based graphing solution.
src/graph_ident.c: Remove an unnecessary pair of brackets.
README: Document the licenses of the JavaScript libraries.
share/Makefile.am: Include new JavaScript files.
list_graphs action: Avoid linebreak in "42 instances".
share/: Import the "Raphaël" and "gRaphaël" JavaScript libraries.
README: New section "Dependencies".
README: Add more future plans.
src/dp_rrdtool.c: Actually do handle the config option.
AUTHORS: Filled with initial comment.
show_instance action: Add links to the JSON representation.
src/graph_def.c: Check for NULL pointers when printing strings.
src/graph_instance.c: Check return value of "def_get_rrdargs".
README: Document data providers and the license.
src/common.c: Fix "ds_list_from_rrd_file".
graph_{data,def}_json actions: Don't destroy the graph_config_t object.
src/graph_ident.c: Fix generation of JSON data.
src/dp_rrdtool.c: Check for "ds[].type" rather than "ds[].index".
src/graph_ident.c: Fix minor issues.
src/dp_rrdtool.c: Cleanups.
graph_data_json action: Implemented action to query graph data via JSON.
src/graph_instance.[ch]: Implement "inst_data_to_json".
src/graph_ident.[ch]: Implement "ident_data_to_json".
src/dp_rrdtool.c: Adapt to new callback prototype.
src/data_provider.[ch]: Implement "data_provider_get_ident_ds_names".
src/data_provider.[ch]: Implement "data_provider_get_ident_data".
src/data_provider.[ch]: Move privider handling functions to a central place.
graph_def_json action: Use "graph_def_to_json" rather than "def_to_json".
src/graph_def.c: Minor fixes.
src/graph.[ch]: Implement "graph_def_to_json".
graph_def_json action: Add action to request graph defs as JSON.
src/graph_def.[ch]: Implement "def_to_json".
src/graph_list.c: Remove an annoying debugging message.
share/collection.conf: Swap free and used areas of the "df" graph.
src/utils_cgi.c: Fix format error.
src/graph_list.[ch]: Use the data provider to read a list of files.
Add stub for config handling wrt. data providers.
src/dp_rrdtool.c: Implement "get_ident_data" callback.
src/dp_rrdtool.c: Implement "get_ident_ds_names".
src/dp_rrdtool.c: Implement basic RRDtool data provider.
src/graph_list.[ch]: Implement "gl_register_data_provider" dummy function.
src/graph_list.[ch]: Implement a stub for "gl_register_ident".
src/filesystem.[ch]: Make directory walking functions public.
src/graph_list.c: Clear instances (again) before scanning the file system.
src/utils_cgi.c: Import a list of reserved characters from RFC 3986.
src/graph_instance.c: Properly escape parameters.
"show instance" action: Don't free "inst".