#!/usr/bin/env bash SERVER=${1:-'localhost:8080'} name=testAlert-$RANDOM URL="http://${SERVER}/alert" bold=$(tput bold) normal=$(tput sgr0) call_alertmanager() { curl -v "${URL}" --header 'Content-type: application/json' --data @<(cat <