X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fgraph_config.c;h=6d2402b5c926047d15cd5d398864cde2dba5104e;hb=02b3e17bba6c253164eb9fa7a12a39d7e15ad6a3;hp=4f58df0667d0322051cb2067e616038388599b76;hpb=b988bcc13c655299bc3796cccaa583f62704e759;p=collection4.git diff --git a/src/graph_config.c b/src/graph_config.c index 4f58df0..6d2402b 100644 --- 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 "data_provider.h" #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); + else if (strcasecmp ("DataProvider", child->key) == 0) + data_provider_config (child); else { DEBUG ("Unknown config option: %s", child->key);