Code

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 f6af4fc77c2019e3152f26af5aa77ac4b43cc26d..d650f02f1d3fd866030ca2914fccaefd82a9175b 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);
     }
 
     /*