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