Re-posting as I did not get any response.
Thanks & Regards
Vinay Hegde
On Friday, December 3, 2021 at 1:13:00 PM UTC+5:30 vinay Hegde wrote:
> Hi Team,
> I need a help in getting instance status with time information when using
> blackbox exporter.
> Basically, I am using ICMP ping4 module to get the instance up/down(0/1)
> status using 'probe_success' metrics. I am able to get the instance status
> correctly.
> But, I also need to find 'Since what time' or 'how long' the instance is
> down (if it is down).
> I am not getting the right query for the same. Kindly help.
>
> Below is the content of balckbox.yml:
> *modules: icmp: prober: icmp timeout: 5s icmp: preferred_ip_protocol:
> "ip4"*
>
> The query I have used is: *probe_success{job="job_name"}*
>
> I need a similar query to get 'since when the system is down' when it is
> down.
>
> Regards
> Vinay Hegde
>
--
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/4c6fdbe2-629c-40de-9230-c040f3c76eb7n%40googlegroups.com.