projects
/
collection4.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
show_instance action: Switch to JavaScript-based drawing by default.
[collection4.git]
/
src
/
graph_config.c
diff --git
a/src/graph_config.c
b/src/graph_config.c
index
4f58df0
..
6d2402b
100644
(file)
--- a/
src/graph_config.c
+++ b/
src/graph_config.c
@@
-34,6
+34,7
@@
#include "graph_list.h"
#include "oconfig.h"
#include "common.h"
#include "graph_list.h"
#include "oconfig.h"
#include "common.h"
+#include "data_provider.h"
#ifndef CONFIGFILE
# define CONFIGFILE "/etc/collection.conf"
#ifndef CONFIGFILE
# define CONFIGFILE "/etc/collection.conf"
@@
-52,6
+53,8
@@
static int dispatch_config (const oconfig_item_t *ci) /* {{{ */
child = ci->children + i;
if (strcasecmp ("Graph", child->key) == 0)
graph_config_add (child);
child = ci->children + i;
if (strcasecmp ("Graph", child->key) == 0)
graph_config_add (child);
+ else if (strcasecmp ("DataProvider", child->key) == 0)
+ data_provider_config (child);
else
{
DEBUG ("Unknown config option: %s", child->key);
else
{
DEBUG ("Unknown config option: %s", child->key);