author | Sebastian Harl <sh@tokkee.org> | |
Sun, 20 Jan 2008 21:14:23 +0000 (22:14 +0100) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Mon, 21 Jan 2008 13:43:45 +0000 (14:43 +0100) | ||
commit | 0ff9018b4925232bf469a6d8d19cade0ee6cff6c | |
tree | bd3f0a6388fddd7ab7672e893d8add293903f658 | tree | snapshot |
parent | f64802fc8d4599d9a5409e5f834e1fcd2c4306d6 | commit | diff |
Added support for more than one TypesDB file.
The "TypesDB" config option now accepts more than one filename. Each file will
be read in the specified order. If no filename has been given, the default
file will _not_ be read (I doubt this is a useful feature but it's imho the
most reasonable behavior).
This may, for example, be used to specify an additional file containing custom
data-set definitions. See the thread "Thought about exec and types.db" on the
mailing-list ([1]).
[1] http://mailman.verplant.org/pipermail/collectd/2008-January/001450.html
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
The "TypesDB" config option now accepts more than one filename. Each file will
be read in the specified order. If no filename has been given, the default
file will _not_ be read (I doubt this is a useful feature but it's imho the
most reasonable behavior).
This may, for example, be used to specify an additional file containing custom
data-set definitions. See the thread "Thought about exec and types.db" on the
mailing-list ([1]).
[1] http://mailman.verplant.org/pipermail/collectd/2008-January/001450.html
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/collectd.c | diff | blob | history | |
src/collectd.conf.pod | diff | blob | history | |
src/configfile.c | diff | blob | history | |
src/types_list.c | diff | blob | history | |
src/types_list.h | diff | blob | history |