docs(go.d/memcached): add UNIX socket access prerequisite (#20780)
Ilya Mashchenko committed
Aug 8, 2025 at 23:23 UTC
a7526731dbbe82d9a11b442a3a049fcb6d5cf25b
1 file changed
+13
-1
src/go/plugin/go.d/collector/memcached/metadata.yaml
+13
-1
@@ -41,7 +41,19 @@ modules:
41
description: ""
42
setup:
43
prerequisites:
44
- list: []
44
+ list:
45
+ - title: UNIX socket access
46
+ description: |
47
+ If you are connecting to Memcached via its UNIX socket, ensure that the `netdata` user
48
+ has permission to access it. You can do this by:
49
+
50
+ 1. Adding the `netdata` user to the `memcache` group.
51
+ ```bash
52
+ sudo gpasswd -a netdata memcache
53
+ ```
54
+ 2. Configuring the socket permissions in `/etc/memcached.conf` so the group has access (e.g. `-a 770`).
55
+
56
+ **Note**: You may need to restart Memcached after making these changes for them to take effect.
57
configuration:
58
file:
59
name: go.d/memcached.conf