memcached plugin: Specify read-group name when registering callbacks.
authorFlorian Forster <octo@collectd.org>
Sun, 2 Sep 2012 10:42:21 +0000 (12:42 +0200)
committerFlorian Forster <octo@collectd.org>
Sun, 2 Sep 2012 10:42:21 +0000 (12:42 +0200)
src/memcached.c

index 832af3a..5cfcc91 100644 (file)
@@ -332,7 +332,7 @@ static int config_add_instance(oconfig_item_t *ci)
         (st->host != NULL) ? st->host : hostname_g,
         (st->port != NULL) ? st->port : "default"),
 
-    status = plugin_register_complex_read (/* group = */ NULL,
+    status = plugin_register_complex_read (/* group = */ "memcached",
         /* name      = */ callback_name,
         /* callback  = */ memcached_read,
         /* interval  = */ NULL,