Regenerate integrations docs (#21415)
Co-authored-by: ilyam8 <22274335+ilyam8@users.noreply.github.com>
Netdata bot committed
Dec 5, 2025 at 21:27 UTC
b7ccac9cef876875abb3dd9773775491a9a1d394
1 file changed
+20
-24
src/go/plugin/go.d/collector/smartctl/integrations/s.m.a.r.t..md
+20
-24
@@ -125,36 +125,32 @@ Install `smartmontools` version 7.0 or later using your distribution's package m
125
126
#### For Netdata running in a Docker container
127
128
-1. **Install smartmontools**.
128
+**Provide access to storage devices**.
129
130
- Ensure `smartctl` is available in the container by setting the environment variable `NETDATA_EXTRA_DEB_PACKAGES=smartmontools` when starting the container.
130
+Netdata requires the `SYS_RAWIO` capability and access to the storage devices to run the `smartctl` collector inside a Docker container. Here's how you can achieve this:
131
132
-2. **Provide access to storage devices**.
132
+- `docker run`
133
134
- Netdata requires the `SYS_RAWIO` capability and access to the storage devices to run the `smartctl` collector inside a Docker container. Here's how you can achieve this:
135
-
136
- - `docker run`
137
-
138
- ```bash
139
- docker run --cap-add SYS_RAWIO --device /dev/sda:/dev/sda ...
140
- ```
141
-
142
- - `docker-compose.yml`
134
+ ```bash
135
+ docker run --cap-add SYS_RAWIO --device /dev/sda:/dev/sda ...
136
+ ```
137
144
- ```yaml
145
- services:
146
- netdata:
147
- cap_add:
148
- - SYS_PTRACE
149
- - SYS_ADMIN
150
- - SYS_RAWIO # smartctl
151
- devices:
152
- - "/dev/sda:/dev/sda"
153
- ```
138
+- `docker-compose.yml`
139
+
140
+ ```yaml
141
+ services:
142
+ netdata:
143
+ cap_add:
144
+ - SYS_PTRACE
145
+ - SYS_ADMIN
146
+ - SYS_RAWIO # smartctl
147
+ devices:
148
+ - "/dev/sda:/dev/sda"
149
+ ```
150
155
- > **Multiple Devices**: These examples only show mapping of one device (/dev/sda). You'll need to add additional `--device` options (in docker run) or entries in the `devices` list (in docker-compose.yml) for each storage device you want Netdata's smartctl collector to monitor.
151
+> **Multiple Devices**: These examples only show mapping of one device (/dev/sda). You'll need to add additional `--device` options (in docker run) or entries in the `devices` list (in docker-compose.yml) for each storage device you want Netdata's smartctl collector to monitor.
152
157
- > **NVMe Devices**: Do not map NVMe devices using this method. Netdata uses a [dedicated collector](https://github.com/netdata/netdata/tree/master/src/go/plugin/go.d/collector/nvme#readme) to monitor NVMe devices.
153
+> **NVMe Devices**: Do not map NVMe devices using this method. Netdata uses a [dedicated collector](https://github.com/netdata/netdata/tree/master/src/go/plugin/go.d/collector/nvme#readme) to monitor NVMe devices.
154
155
156