Skip to content
This repository was archived by the owner on Mar 27, 2024. It is now read-only.

Commit d3c5f9c

Browse files
authored
update filecheck docs (#1460)
1 parent c0f0113 commit d3c5f9c

2 files changed

Lines changed: 6 additions & 18 deletions

File tree

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,11 @@ the [official installation method](https://github.com/netdata/netdata/blob/maste
4040
No further action required. If you have used a different installation method and need to set the capabilities manually,
4141
see the appropriate collector readme.
4242

43-
| Capability | Required by |
44-
|:--------------|:--------------------------------------------------------------------------------------------------------:|
45-
| CAP_NET_RAW | [Ping](https://github.com/netdata/go.d.plugin/blob/master/modules/ping/README.md#requirements) |
46-
| CAP_NET_ADMIN | [Wireguard](https://github.com/netdata/go.d.plugin/blob/master/modules/wireguard/README.md#requirements) |
43+
| Capability | Required by |
44+
|:--------------------|:----------------------------------------------------------------------------------------:|
45+
| CAP_NET_RAW | [Ping](https://github.com/netdata/go.d.plugin/tree/master/modules/ping#readme) |
46+
| CAP_NET_ADMIN | [Wireguard](https://github.com/netdata/go.d.plugin/tree/master/modules/wireguard#readme) |
47+
| CAP_DAC_READ_SEARCH | [Filecheck](https://github.com/netdata/go.d.plugin/tree/master/modules/filecheck#readme) |
4748

4849
## Available modules
4950

modules/filecheck/metadata.yaml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,7 @@ modules:
3030
multi_instance: true
3131
additional_permissions:
3232
description: |
33-
`netdata` user needs the following permissions on all the directories in pathname that lead to the file/dir:
34-
35-
- files monitoring: `execute`.
36-
- directories monitoring: `read` and `execute`.
37-
38-
If you need to modify the permissions we
39-
suggest [to use file access control lists](https://linux.die.net/man/1/setfacl):
40-
41-
```cmd
42-
setfacl -m u:netconfig:rx file ...
43-
```
44-
45-
> **Warning**: For security reasons, this should not be applied recursively, but only to the exact set of directories
46-
> that lead to the file/dir you want to monitor.
33+
This collector requires the DAC_READ_SEARCH capability, but it is set automatically during installation, so no manual configuration is needed.
4734
default_behavior:
4835
auto_detection:
4936
description: ""

0 commit comments

Comments
 (0)