On 30/03/2021 03:45, Rajesh Maharajan wrote:
Any one is better but the output is to send alerts via mail when the server went down

Using Prometheus alerts with Alertmanager you can trigger emails. Then you can alert on "up == 0" to detect when a scrape fails, which could be due to a server going down (as well as other reasons such as network issues).

--
Stuart Clark

--
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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/3cb83e63-2a5e-0bcd-fe08-f3a916da20b6%40Jahingo.com.

Reply via email to