summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorSoulou <leo.unbek@gmail.com>2016-06-09 14:34:01 +0200
committerSoulou <leo.unbek@gmail.com>2016-06-09 14:34:01 +0200
commitd720a9cc1cbca31df7d211d5e5dce498420c4090 (patch)
tree2c39720cef5cfa1ebfe2a69d283db03539cd6d8d /README.md
parent43b9a53a91f48ebb68c98b9f0c372681462a0ffa (diff)
parent5ebec8d1b9fe51d074b351e1cfe0a307d086bc48 (diff)
downloadmunin-d720a9cc1cbca31df7d211d5e5dce498420c4090.tar.gz
munin-d720a9cc1cbca31df7d211d5e5dce498420c4090.tar.bz2
munin-d720a9cc1cbca31df7d211d5e5dce498420c4090.tar.xz
munin-d720a9cc1cbca31df7d211d5e5dce498420c4090.zip
Merge pull request #5 from build-failure/master
Extended the smtp configuration
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" \