Regenerate integrations docs (#19344)
Co-authored-by: Ancairon <70198089+Ancairon@users.noreply.github.com>
Netdata bot committed
Jan 8, 2025 at 07:10 UTC
c83d33b2aebc08c807f570224cc70e7af7406029
1 file changed
+12
src/health/notifications/email/README.md
+12
@@ -27,6 +27,17 @@ Send notifications via Email using Netdata's Agent alert notification feature, w
27
28
- A working sendmail command is required for email alerts to work. Almost all MTAs provide a sendmail interface. Netdata sends all emails as user netdata, so make sure your sendmail works for local users.
29
- Access to the terminal where Netdata Agent is running
30
+- When running Netdata with Docker Compose the emails are sent with `msmtp`, and you need a basic configuration for it to work.
31
+
32
+ - Add a [msmtprc](https://marlam.de/msmtp/msmtprc.txt) config file on your Docker root folder, and edit it according to your needs.
33
+ - Link it into your Netdata container with this:
34
+
35
+ ```yaml
36
+ volumes:
37
+ - /path/to/netdata-docker/msmtprc:/etc/msmtprc:ro
38
+ ```
39
+
40
+ - Update your container with `docker compose up -d`.
41
42
43
@@ -88,6 +99,7 @@ DEFAULT_RECIPIENT_EMAIL="recipient@example.com"
99
100
```
101
102
+
103
## Troubleshooting
104
105
### Test Notification