From c4a60c460884c251e848e06f07f8911fb5883ed7 Mon Sep 17 00:00:00 2001 From: Christopher Liu Date: Wed, 24 Jul 2019 18:08:34 -0700 Subject: [PATCH] Silence curl --- scripts/pagerduty.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/pagerduty.sh b/scripts/pagerduty.sh index ef3afc09b..3e885c691 100644 --- a/scripts/pagerduty.sh +++ b/scripts/pagerduty.sh @@ -36,8 +36,8 @@ delay=60 ### Pagerduty if [[ $(($curtime - $latest)) -gt $delay ]]; then # Trigger an alert - trigger=$(curl -X POST -H "$HEADER" -d "$TRIGGER" "$POSTURL") + trigger=$(curl -s -X POST -H "$HEADER" -d "$TRIGGER" "$POSTURL") else # Resolve an alert - resolve=$(curl -X POST -H "$HEADER" -d "$RESOLVE" "$POSTURL") + resolve=$(curl -s -X POST -H "$HEADER" -d "$RESOLVE" "$POSTURL") fi