Code

libvirtstats plugin: Added a plugin to collect virtual host statistics.
[collectd.git] / src / configfile.c
index 0310ca8aff417f37036a737ee55043f5182bc955..4702e7aba131bfaa79dd48418a80cc82be18172f 100644 (file)
@@ -27,6 +27,7 @@
 #include "common.h"
 #include "plugin.h"
 #include "configfile.h"
+#include "utils_threshold.h"
 
 #define ESCAPE_NULL(str) ((str) == NULL ? "(null)" : (str))
 
@@ -298,6 +299,8 @@ static int dispatch_block (oconfig_item_t *ci)
 {
        if (strcasecmp (ci->key, "Plugin") == 0)
                return (dispatch_block_plugin (ci));
+       else if (strcasecmp (ci->key, "Threshold") == 0)
+               return (ut_config (ci));
 
        return (0);
 }