From 795a7ca49557d105701f0698e3f02468a60211a4 Mon Sep 17 00:00:00 2001 From: 7heo <7heo@mail.com> Date: Fri, 24 Mar 2017 06:29:53 +0100 Subject: [PATCH 1/3] FIX run.sh: set alert template explicitely --- run.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/run.sh b/run.sh index 2d4bdd9..7b496a7 100755 --- a/run.sh +++ b/run.sh @@ -15,6 +15,7 @@ HOUND_CHECK_INTERVAL=1 \ HOUND_GLOBAL_THROTTLE=10 \ HOUND_HTTP_PORT=9998 \ HOUND_TEMPLATE_FILE="index.html" \ +HOUND_ALERT_TEMPLATE_FILE="alert.html" \ HOUND_EMAIL_ON_ERROR=false \ HOUND_SMTP_SERVER=postgres \ HOUND_SMTP_PORT=25 \ From a89b5480f0e0eb5b3c22f62753b764c1c1714453 Mon Sep 17 00:00:00 2001 From: 7heo <7heo@mail.com> Date: Fri, 24 Mar 2017 11:25:53 +0100 Subject: [PATCH 2/3] FIX README.md: nohup is now in the run script --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cbbf933..b7153ba 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ email when the metric has recovered. ### Usage 1. Edit the file `run.sh` with the correct values for your use. -2. run `./run.sh` (preferrably in a detachable session or with `nohup`) +2. run `./run.sh` ### Configuration From 35c348150bb9253e632c5c18cf3dd8707e9949db Mon Sep 17 00:00:00 2001 From: 7heo <7heo@mail.com> Date: Fri, 24 Mar 2017 13:46:01 +0100 Subject: [PATCH 3/3] FIX README.md: with instructions for docker Bonus typo fix. --- README.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b7153ba..992870d 100644 --- a/README.md +++ b/README.md @@ -12,14 +12,23 @@ minutes after that, one hour after that, 2 hours after that, 4 hours, 8 hours, then every 24 hours thereafter. Finally, you will get an email when the metric has recovered. -### Dependencies +### Docker image -1. Obviously enough, hound need a running graphite server, accessible via +There is a docker image for running hound and postfix. See +, + and + for more information. + +### Without docker + +#### Dependencies + +1. Obviously enough, hound needs a running graphite server, accessible via network. 2. In addition, an SMTP host is necessary (without authentication or encryption) to send the emails out. -### Usage +#### Usage 1. Edit the file `run.sh` with the correct values for your use. 2. run `./run.sh`