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/72f90873-7c4d-4921-9dd0-65ddb5517bf3n%40googlegroups.com.