Code

collection4.git
14 years agosrc/utils_params.[ch]: Implement and use "script_name()".
Florian Forster [Fri, 18 Jun 2010 18:23:54 +0000 (20:23 +0200)]
src/utils_params.[ch]: Implement and use "script_name()".

14 years agoaction "graph": Implement handling of arbitrary begin/end times.
Florian Forster [Fri, 18 Jun 2010 18:11:01 +0000 (20:11 +0200)]
action "graph": Implement handling of arbitrary begin/end times.

14 years agoAutotoolization.
Florian Forster [Wed, 16 Jun 2010 15:13:28 +0000 (17:13 +0200)]
Autotoolization.

14 years agooconfig.c: Fix compiler warning.
Florian Forster [Wed, 16 Jun 2010 14:40:34 +0000 (16:40 +0200)]
oconfig.c: Fix compiler warning.

14 years agocollection.conf: Configure the "memory" graph.
Florian Forster [Tue, 15 Jun 2010 13:39:54 +0000 (15:39 +0200)]
collection.conf: Configure the "memory" graph.

14 years agograph_def.c: Implement the "Format" config option.
Florian Forster [Tue, 15 Jun 2010 13:31:35 +0000 (15:31 +0200)]
graph_def.c: Implement the "Format" config option.

14 years agograph.[ch]: Implement "graph_get_rrdargs".
Florian Forster [Tue, 15 Jun 2010 13:24:14 +0000 (15:24 +0200)]
graph.[ch]: Implement "graph_get_rrdargs".

14 years agocollection.conf: Add some more graphs.
Florian Forster [Tue, 15 Jun 2010 12:34:21 +0000 (14:34 +0200)]
collection.conf: Add some more graphs.

14 years agoaction "list_graphs": Fix indentation.
Florian Forster [Tue, 15 Jun 2010 12:34:04 +0000 (14:34 +0200)]
action "list_graphs": Fix indentation.

14 years agograph_instance.[ch]: Implement "inst_describe".
Florian Forster [Tue, 15 Jun 2010 12:18:32 +0000 (14:18 +0200)]
graph_instance.[ch]: Implement "inst_describe".

14 years agoAdd example configuration file.
Florian Forster [Tue, 15 Jun 2010 12:03:40 +0000 (14:03 +0200)]
Add example configuration file.

14 years agoFix compiler warnings.
Florian Forster [Tue, 15 Jun 2010 11:24:00 +0000 (13:24 +0200)]
Fix compiler warnings.

14 years agograph.[ch]: Remove the "gl_" prefix.
Florian Forster [Tue, 15 Jun 2010 09:35:09 +0000 (11:35 +0200)]
graph.[ch]: Remove the "gl_" prefix.

14 years agograph_list.c: Removed unused stuff.
Florian Forster [Tue, 15 Jun 2010 09:29:31 +0000 (11:29 +0200)]
graph_list.c: Removed unused stuff.

14 years agoMove the graph class into an own module.
Florian Forster [Tue, 15 Jun 2010 09:27:35 +0000 (11:27 +0200)]
Move the graph class into an own module.

14 years agofilesystem.[ch]: Move filesystem accessing functions into a separate module.
Florian Forster [Tue, 15 Jun 2010 08:41:29 +0000 (10:41 +0200)]
filesystem.[ch]: Move filesystem accessing functions into a separate module.

14 years agograph_instance.[ch]: Move the graph_instance_t code into an own module.
Florian Forster [Tue, 15 Jun 2010 08:10:57 +0000 (10:10 +0200)]
graph_instance.[ch]: Move the graph_instance_t code into an own module.

14 years agoAdd .gitignore file.
Florian Forster [Tue, 15 Jun 2010 07:09:18 +0000 (09:09 +0200)]
Add .gitignore file.

14 years agoAdd forgotten files.
Florian Forster [Tue, 15 Jun 2010 07:08:19 +0000 (09:08 +0200)]
Add forgotten files.

14 years agograph_def.c: Implement the "Stack" and "Area" options.
Florian Forster [Mon, 14 Jun 2010 21:53:07 +0000 (23:53 +0200)]
graph_def.c: Implement the "Stack" and "Area" options.

14 years agograph_config.[ch]: Add forgotten files.
Florian Forster [Mon, 14 Jun 2010 21:46:37 +0000 (23:46 +0200)]
graph_config.[ch]: Add forgotten files.

14 years agograph_def.c: Split the config handling into two functions.
Florian Forster [Mon, 14 Jun 2010 21:43:42 +0000 (23:43 +0200)]
graph_def.c: Split the config handling into two functions.

14 years agograph_def.c: Implement color config option.
Florian Forster [Mon, 14 Jun 2010 21:27:55 +0000 (23:27 +0200)]
graph_def.c: Implement color config option.

14 years agoImplement "DEF" configuration.
Florian Forster [Mon, 14 Jun 2010 21:19:56 +0000 (23:19 +0200)]
Implement "DEF" configuration.

14 years agograph_ident.[ch]: Add ident_get_* methods.
Florian Forster [Mon, 14 Jun 2010 21:19:13 +0000 (23:19 +0200)]
graph_ident.[ch]: Add ident_get_* methods.

14 years agograph_list.c: Clear instances before re-scanning the directory.
Florian Forster [Mon, 14 Jun 2010 19:12:27 +0000 (21:12 +0200)]
graph_list.c: Clear instances before re-scanning the directory.

14 years agograph_list.[ch]: Implement some (very simple) config handling.
Florian Forster [Mon, 14 Jun 2010 18:41:00 +0000 (20:41 +0200)]
graph_list.[ch]: Implement some (very simple) config handling.

14 years agoImport liboconfig from collectd.
Florian Forster [Mon, 14 Jun 2010 18:40:30 +0000 (20:40 +0200)]
Import liboconfig from collectd.

14 years agograph_def.[ch]: Implemented DEF-based graph generation.
Florian Forster [Mon, 14 Jun 2010 17:18:07 +0000 (19:18 +0200)]
graph_def.[ch]: Implemented DEF-based graph generation.

14 years agograph_list.c: Improve error handling in one little case.
Florian Forster [Mon, 14 Jun 2010 15:53:20 +0000 (17:53 +0200)]
graph_list.c: Improve error handling in one little case.

14 years agograph_ident.c: Fix a logic error in "part_copy_with_selector".
Florian Forster [Mon, 14 Jun 2010 15:47:56 +0000 (17:47 +0200)]
graph_ident.c: Fix a logic error in "part_copy_with_selector".

14 years agograph_list.c: Allocate graph_def_ts on the fly.
Florian Forster [Mon, 14 Jun 2010 15:25:22 +0000 (17:25 +0200)]
graph_list.c: Allocate graph_def_ts on the fly.

14 years agograph_def.c: Add the "color" member.
Florian Forster [Mon, 14 Jun 2010 15:23:49 +0000 (17:23 +0200)]
graph_def.c: Add the "color" member.

14 years agograph_def.[ch]: Implement "def_append".
Florian Forster [Mon, 14 Jun 2010 15:18:09 +0000 (17:18 +0200)]
graph_def.[ch]: Implement "def_append".

14 years agograph_ident.[ch]: ident_copy_with_selector: More fine-grained control over what wildc...
Florian Forster [Mon, 14 Jun 2010 15:09:01 +0000 (17:09 +0200)]
graph_ident.[ch]: ident_copy_with_selector: More fine-grained control over what wildcards are replaced.

14 years agograph_def.[ch]: Class for handling data sources in graphs (DEFs).
Florian Forster [Mon, 14 Jun 2010 15:07:56 +0000 (17:07 +0200)]
graph_def.[ch]: Class for handling data sources in graphs (DEFs).

14 years agograph_list.[ch]: Implement "gl_graph_get_selector".
Florian Forster [Mon, 14 Jun 2010 14:51:15 +0000 (16:51 +0200)]
graph_list.[ch]: Implement "gl_graph_get_selector".

14 years agograph_ident.[ch]: Move the graph_ident_t data structure into an own module.
Florian Forster [Mon, 14 Jun 2010 14:31:02 +0000 (16:31 +0200)]
graph_ident.[ch]: Move the graph_ident_t data structure into an own module.

14 years agoaction graph: Remove unused functions.
Florian Forster [Mon, 14 Jun 2010 10:47:25 +0000 (12:47 +0200)]
action graph: Remove unused functions.

The get_random_color() function has been moved to common.[ch].

14 years agoFirst working version of the configurable graphlist stuff.
Florian Forster [Mon, 14 Jun 2010 10:26:36 +0000 (12:26 +0200)]
First working version of the configurable graphlist stuff.

14 years agoaction_list_graphs.c: Group instances by the graph object.
Florian Forster [Wed, 9 Jun 2010 17:03:42 +0000 (19:03 +0200)]
action_list_graphs.c: Group instances by the graph object.

14 years agograph_list.[ch]: Implement "{graph,inst}_get_selected".
Florian Forster [Wed, 9 Jun 2010 17:03:08 +0000 (19:03 +0200)]
graph_list.[ch]: Implement "{graph,inst}_get_selected".

14 years agocommon.[ch]: Implement "strlcat".
Florian Forster [Wed, 9 Jun 2010 17:02:30 +0000 (19:02 +0200)]
common.[ch]: Implement "strlcat".

14 years agoutils_params.[ch]: Implement "uri_escape".
Florian Forster [Wed, 9 Jun 2010 17:01:25 +0000 (19:01 +0200)]
utils_params.[ch]: Implement "uri_escape".

14 years agograph_list.c: Add missing folding marker.
Florian Forster [Wed, 9 Jun 2010 13:57:33 +0000 (15:57 +0200)]
graph_list.c: Add missing folding marker.

14 years agograph_list: Implement better iterator functions.
Florian Forster [Wed, 9 Jun 2010 13:56:12 +0000 (15:56 +0200)]
graph_list: Implement better iterator functions.

14 years agograph_list.c: Add folding markers.
Florian Forster [Wed, 9 Jun 2010 12:29:21 +0000 (14:29 +0200)]
graph_list.c: Add folding markers.

14 years agograph_list: Add basic configuration infrastructure.
Florian Forster [Wed, 9 Jun 2010 12:27:01 +0000 (14:27 +0200)]
graph_list: Add basic configuration infrastructure.

14 years agoUhm, lots of stuff changed. Forgot to check in to be honest ;)
Florian Forster [Thu, 27 May 2010 09:27:09 +0000 (11:27 +0200)]
Uhm, lots of stuff changed. Forgot to check in to be honest ;)

14 years agoFree the graph_def structure.
Florian Forster [Sun, 2 May 2010 08:43:58 +0000 (10:43 +0200)]
Free the graph_def structure.

14 years agoaction graph: Added some code to determine the DS names from RRD files.
Florian Forster [Sun, 2 May 2010 08:41:09 +0000 (10:41 +0200)]
action graph: Added some code to determine the DS names from RRD files.

14 years agoaction graph: Initial code.
Florian Forster [Sun, 2 May 2010 07:29:08 +0000 (09:29 +0200)]
action graph: Initial code.

14 years agograph_list: Sort list alphabetically.
Florian Forster [Sun, 2 May 2010 07:24:58 +0000 (09:24 +0200)]
graph_list: Sort list alphabetically.

14 years agoaction_list_graphs.c: Implement real simple HTML output.
Florian Forster [Sun, 2 May 2010 07:11:29 +0000 (09:11 +0200)]
action_list_graphs.c: Implement real simple HTML output.

14 years agotest.fcgi.c: Introduce an array of actions.
Florian Forster [Sun, 2 May 2010 06:57:22 +0000 (08:57 +0200)]
test.fcgi.c: Introduce an array of actions.

14 years agograph_list: Free old list when re-scanning.
Florian Forster [Fri, 30 Apr 2010 15:54:26 +0000 (17:54 +0200)]
graph_list: Free old list when re-scanning.

14 years agoRename fcgi_test.c to test.fcgi.c
Florian Forster [Fri, 30 Apr 2010 15:42:18 +0000 (17:42 +0200)]
Rename fcgi_test.c to test.fcgi.c

14 years agoAdd the "list_graphs" action.
Florian Forster [Fri, 30 Apr 2010 13:35:40 +0000 (15:35 +0200)]
Add the "list_graphs" action.

14 years agoInitial import.
Florian Forster [Fri, 30 Apr 2010 13:16:31 +0000 (15:16 +0200)]
Initial import.