Adds a Memcached management page to the panel: service state, live statistics, cache flush, and a small set of editable configuration values. The plugin talks to memcached over a plain TCP socket on 127.0.0.1, using the port it reads from /etc/memcached.conf (falling back to 11211), and issues the raw stats and stats slabs commands to build the dashboard — uptime, stored items, bytes used against the configured limit, current connections, hit/miss counters, evictions, and thread count, plus a per-slab breakdown. The flush_all command is exposed as a one-click cache flush.
Start, stop, and restart go through the root agent (service.*) rather than a direct systemctl call, because the panel process is unprivileged; memcached must be present in the agent's service allow-list for these to work. The Configuration tab shows every non-comment directive parsed from /etc/memcached.conf, and four of them — memory limit (-m), port (-p), max connections (-c) and max item size (-I, 1m–128m, at most half of -m) — can be edited from the form. Saving rewrites the file through the agent (base64 piped into cmd.run, since agent file writes under /etc are denied), preserving all other lines and appending a directive only if it was absent, then restarts the service; if the restart fails the plugin says so instead of pretending it worked. install.sh installs the memcached and libmemcached-tools packages via apt and enables the service. The Listen & Security tab (1.1.3+) switches between TCP listen addresses (-l; binding a public IP needs an explicit confirmation) and a UNIX socket (-s with mask -a, optionally handed to group www-data by a systemd drop-in that also grants the panel access), and turns on SASL authentication (-S) with sasldb user management when the installed memcached is built with SASL and sasl2-bin is present; otherwise it is shown as unavailable. A Trend tab charts the get hit ratio and evictions per interval from samples stored while the page is open (one a minute, last 288). Anything beyond these knobs still requires editing the config file directly, and there is no key browser or per-key inspection.
Availability: Free on every plan, including the Free plan.
Use VinzaPanel's REST API to download and install this app programmatically.
POST /plugins/api/download/memcached/ Content-Type: application/json { "panel_version": "1.0.0" }
{
"success": true,
"plugin_id": "memcached",
"version": "1.1.3",
"download_url": "..."
}