Promql related query - probe_icmp_duration_seconds{phase =~ "resolve"} > 0 and probe_success == 0

24 views
Skip to first unread message

Siju Vasudevan

unread,
Jan 21, 2021, 9:15:07 AM1/21/21
to Prometheus Users
Usecase : i want to trigger hostdown alert only if the dns resolve is success  and icmp check got failed. I was trying to create a promql query for this usecase but prometheus was not giving any result. Is it possible?

probe_icmp_duration_seconds{phase =~ "resolve"} > 0 and probe_success == 0  

Regards,
Siju
Reply all
Reply to author
Forward
0 new messages