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