The file specified as portnumber_file
in memcached.json
contains a JSON object with the following format:
{
"ports": [
{
"family": "inet",
"host": "0.0.0.0",
"port": 35273,
"system": false,
"tag": "plain",
"tls": false,
"type": "mcbp",
"uuid": "c54e2ec2-277e-4531-87ad-3955cb4236c5"
},
{
"family": "inet6",
"host": "::",
"port": 39369,
"system": false,
"tag": "plain",
"tls": false,
"type": "mcbp",
"uuid": "cc480095-7e1c-4f24-f7c7-deb32f413076"
},
{
"family": "inet",
"host": "0.0.0.0",
"port": 40385,
"system": true,
"tag": "TLS IPv4",
"tls": true,
"type": "mcbp",
"uuid": "28ecaebb-8350-4bf6-f08f-58fadc6642a8"
},
{
"family": "inet6",
"host": "::",
"port": 42441,
"system": true,
"tag": "TLS Ipv6",
"tls": true,
"type": "mcbp",
"uuid": "5c3b9813-f58f-458e-f713-cf8db3aae18e"
}
],
"prometheus": {
"family": "inet",
"port": 43455
}
}
ports
contains an array of all ports the server listen to which supports
the memcached binary protocol
prometheus
contains an object describing the port providing support for
prometheus stats collection.
family
may beinet
(for IPv4) orinet6
(for IPv6)host
is the hostname the interface address port is bound toport
is the port number it is bound tosystem
if connections should be counted as system connections or usertag
a free form name for the interfacetls
set to true if the port is configured to use TLStype
should always bemcbp
(memcached binary protocol)uuid
a unique identifier for the port