sstrncpy (vl.plugin, "routeros", sizeof (vl.plugin));
sstrncpy (vl.type, type, sizeof (vl.type));
sstrncpy (vl.type_instance, type_instance, sizeof (vl.type_instance));
sstrncpy (vl.plugin, "routeros", sizeof (vl.plugin));
sstrncpy (vl.type, type, sizeof (vl.type));
sstrncpy (vl.type_instance, type_instance, sizeof (vl.type_instance));
static int handle_system_resource (__attribute__((unused)) ros_connection_t *c, /* {{{ */
const ros_system_resource_t *r,
__attribute__((unused)) void *user_data)
static int handle_system_resource (__attribute__((unused)) ros_connection_t *c, /* {{{ */
const ros_system_resource_t *r,
__attribute__((unused)) void *user_data)
cf_util_get_boolean (child, &router_data->collect_interface);
else if (strcasecmp ("CollectRegistrationTable", child->key) == 0)
cf_util_get_boolean (child, &router_data->collect_regtable);
cf_util_get_boolean (child, &router_data->collect_interface);
else if (strcasecmp ("CollectRegistrationTable", child->key) == 0)
cf_util_get_boolean (child, &router_data->collect_regtable);
else if (strcasecmp ("CollectCPULoad", child->key) == 0)
cf_util_get_boolean (child, &router_data->collect_cpu_load);
else if (strcasecmp ("CollectMemory", child->key) == 0)
else if (strcasecmp ("CollectCPULoad", child->key) == 0)
cf_util_get_boolean (child, &router_data->collect_cpu_load);
else if (strcasecmp ("CollectMemory", child->key) == 0)
- status = plugin_register_complex_read (read_name, cr_read,
- /* interval = */ NULL, &user_data);
+ status = plugin_register_complex_read (/* group = */ NULL, read_name,
+ cr_read, /* interval = */ NULL, &user_data);