nb_values missing in types.db; renaming as cache_size
authorYves Mettier <ymettier@free.fr>
Mon, 25 Aug 2014 11:47:33 +0000 (13:47 +0200)
committerYves Mettier <ymettier@free.fr>
Mon, 25 Aug 2014 11:47:33 +0000 (13:47 +0200)
src/plugin.c

index 6e1f972..0b91561 100644 (file)
@@ -182,7 +182,7 @@ static void plugin_update_internal_statistics (void) { /* {{{ */
 
        /* Cache : Nb entry in cache tree */
        vl.values[0].gauge = (gauge_t) uc_get_size();
-       sstrncpy (vl.type, "nb_values", sizeof (vl.type));
+       sstrncpy (vl.type, "cache_size", sizeof (vl.type));
        vl.type_instance[0] = 0;
        plugin_dispatch_values (&vl);