summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index 90bd619..783c2d5 100644
--- a/README.md
+++ b/README.md
@@ -19,6 +19,9 @@ Email credentials used to send emails (like alerts)
* `SMTP_PORT`
* `SMTP_USERNAME`
* `SMTP_PASSWORD`
+* `SMTP_USE_TLS`
+* `SMTP_ALWAYS_SEND`
+* `SMTP_MESSAGE`
### Alert target
@@ -63,6 +66,9 @@ docker run -d \
-e SMTP_PORT=587 \
-e SMTP_USERNAME=smtp-username \
-e SMTP_PASSWORD=smtp-password \
+ -e SMTP_USE_TLS=false \
+ -e SMTP_ALWAYS_SEND=true \
+ -e SMTP_MESSAGE='[${var:group};${var:host}] -> ${var:graph_title} -> warnings: ${loop<,>:wfields ${var:label}=${var:value}} / criticals: ${loop<,>:cfields ${var:label}=${var:value}}' \
-e ALERT_RECIPIENT=monitoring@example.com \
-e ALERT_SENDER=alerts@example.com \
-e NODES="server1:10.0.0.1 server2:10.0.0.2" \