diff --git a/src/graph_config.c b/src/graph_config.c
index 4f58df0667d0322051cb2067e616038388599b76..6d2402b5c926047d15cd5d398864cde2dba5104e 100644 (file)
--- a/src/graph_config.c
+++ b/src/graph_config.c
#include "graph_list.h"
#include "oconfig.h"
#include "common.h"
+#include "data_provider.h"
#ifndef CONFIGFILE
# define CONFIGFILE "/etc/collection.conf"
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);