projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'collectd-5.4' into collectd-5.5
[collectd.git]
/
src
/
memcached.c
diff --git
a/src/memcached.c
b/src/memcached.c
index
e5540d1
..
d650f02
100644
(file)
--- a/
src/memcached.c
+++ b/
src/memcached.c
@@
-388,7
+388,7
@@
static int memcached_read (user_data_t *user_data)
/*
* For an explanation on these fields please refer to
/*
* For an explanation on these fields please refer to
- * <http
://code.sixapart.com/svn/memcached/trunk/serv
er/doc/protocol.txt>
+ * <http
s://github.com/memcached/memcached/blob/mast
er/doc/protocol.txt>
*/
/*
*/
/*
@@
-438,6
+438,10
@@
static int memcached_read (user_data_t *user_data)
{
submit_gauge ("memcached_connections", "current", atof (fields[2]), st);
}
{
submit_gauge ("memcached_connections", "current", atof (fields[2]), st);
}
+ else if (FIELD_IS ("listen_disabled_num"))
+ {
+ submit_derive ("connections", "listen_disabled", atof (fields[2]), st);
+ }
/*
* Commands
/*
* Commands