I forgot to say: if you don't want to code directly to the alertmanager API, there is amtool <https://github.com/prometheus/alertmanager#amtool> which gives you a simple command-line frontend:
amtool silence add instance=device1 amtool silence expire instance=device1 You should be able to prototype something very easily using this. -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/526e3d06-363c-4157-93ab-c1d6dff72caen%40googlegroups.com.

