#!/usr/bin/env bash SERVER=${1:-'localhost:8080'} NAME=testAlert-$RANDOM FINGERPRINT=$(date +%s | md5sum | cut -f1 -d' ') URL="http://${SERVER}/alert" BOLD=$(tput bold) NORMAL=$(tput sgr0) call_alertmanager() { VALUE=${1} curl -v "${URL}" --header 'Expect:' --header 'Content-type: application/json' --data @<(cat <