memcached plugin: Use a DERIVE type for the "listen disabled" metric.
authorFlorian Forster <octo@collectd.org>
Tue, 1 Dec 2015 15:25:41 +0000 (16:25 +0100)
committerFlorian Forster <octo@collectd.org>
Tue, 1 Dec 2015 15:25:41 +0000 (16:25 +0100)
Fixes: #1356

src/memcached.c

index f6af4fc..d650f02 100644 (file)
@@ -440,7 +440,7 @@ static int memcached_read (user_data_t *user_data)
     }
     else if (FIELD_IS ("listen_disabled_num"))
     {
-      submit_derive ("memcached_connections", "listen_disabled", atof (fields[2]), st);
+      submit_derive ("connections", "listen_disabled", atof (fields[2]), st);
     }
 
     /*