From 0a0f6fe7c92f725844839bacf70604913b14ce85 Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Sun, 16 Feb 2020 13:30:43 -0800 Subject: [PATCH] Remove command_shell key from example yaml --- sample-config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sample-config.yml b/sample-config.yml index 550edc0..0ddc914 100644 --- a/sample-config.yml +++ b/sample-config.yml @@ -25,7 +25,7 @@ alerts: email_up: command: [sendmail, "me@minitor.mon", "Recovered: {monitor_name}", "We're back!"] mailgun_down: - command_shell: > + command: > curl -s -X POST -F subject="Alert! {{.MonitorName}} failed" -F from="Minitor " @@ -34,7 +34,7 @@ alerts: https://api.mailgun.net/v3/minitor.mon/messages -u "api:${MAILGUN_API_KEY}" sms_down: - command_shell: > + command: > curl -s -X POST -F "Body=Failure! {{.MonitorName}} has failed" -F "From=${AVAILABLE_NUMBER}" -F "To=${MY_PHONE}" "https://api.twilio.com/2010-04-01/Accounts/${ACCOUNT_SID}/Messages"