probe_success metrics not showing up in prometheus Blackbox Exporter

884 views
Skip to first unread message

Unni Sathyarajan

unread,
May 24, 2018, 9:33:19 AM5/24/18
to Prometheus Developers
Hi All, 


I had configured blackbox exporter with prometheus to monitor my microservices availability. 

But the as per the documentation, to create a alert you need a probe_success metric based on it value we trigger alerts. 


The probe_success metric is not showing up in the prometheus expression browser.

Without using this metric the prometheus / blackbox is showing non existent website as UP . 

For Example:


 

Please advice. 

Thanks in advance.

Brian Brazil

unread,
May 24, 2018, 9:40:45 AM5/24/18
to Unni Sathyarajan, Prometheus Developers
On 24 May 2018 at 14:32, Unni Sathyarajan <unnisa...@gmail.com> wrote:
Hi All, 


I had configured blackbox exporter with prometheus to monitor my microservices availability. 

But the as per the documentation, to create a alert you need a probe_success metric based on it value we trigger alerts. 


The probe_success metric is not showing up in the prometheus expression browser.

You need to use /probe to perform probes. /metrics is the metrics of the blackbox exporter iself.

Brian
 

Without using this metric the prometheus / blackbox is showing non existent website as UP . 

For Example:


 

Please advice. 

Thanks in advance.

--
You received this message because you are subscribed to the Google Groups "Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-developers+unsub...@googlegroups.com.
To post to this group, send email to prometheus-developers@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/CAEtPgHPG1XHKQN9zcapb%3DFPoV%3D5bPKzHYL-R6OBmPSXJrOAd8g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.



--

Unni Sathyarajan

unread,
May 24, 2018, 10:30:53 AM5/24/18
to Brian Brazil, Prometheus Developers
Great Brian, it worked. 

But why does google and youtube I tested with giving the probe_success value of 0 whereas my personal website it gives the correct value of 1 which means UP.

On Thu, May 24, 2018 at 5:40 PM, Brian Brazil <brian....@robustperception.io> wrote:
On 24 May 2018 at 14:32, Unni Sathyarajan <unnisa...@gmail.com> wrote:
Hi All, 


I had configured blackbox exporter with prometheus to monitor my microservices availability. 

But the as per the documentation, to create a alert you need a probe_success metric based on it value we trigger alerts. 


The probe_success metric is not showing up in the prometheus expression browser.

You need to use /probe to perform probes. /metrics is the metrics of the blackbox exporter iself.

Brian
 

Without using this metric the prometheus / blackbox is showing non existent website as UP . 

For Example:


 

Please advice. 

Thanks in advance.

--
You received this message because you are subscribed to the Google Groups "Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-developers+unsubscri...@googlegroups.com.



--

Brian Brazil

unread,
May 24, 2018, 10:52:19 AM5/24/18
to Unni Sathyarajan, Prometheus Developers
On 24 May 2018 at 15:30, Unni Sathyarajan <unnisa...@gmail.com> wrote:
Great Brian, it worked. 

But why does google and youtube I tested with giving the probe_success value of 0 whereas my personal website it gives the correct value of 1 which means UP.


Most likely you have a broken ipv6 setup, as the blackbox exporter prefers v6 by default.

Brian
 

On Thu, May 24, 2018 at 5:40 PM, Brian Brazil <brian.brazil@robustperception.io> wrote:
On 24 May 2018 at 14:32, Unni Sathyarajan <unnisa...@gmail.com> wrote:
Hi All, 


I had configured blackbox exporter with prometheus to monitor my microservices availability. 

But the as per the documentation, to create a alert you need a probe_success metric based on it value we trigger alerts. 


The probe_success metric is not showing up in the prometheus expression browser.

You need to use /probe to perform probes. /metrics is the metrics of the blackbox exporter iself.

Brian
 

Without using this metric the prometheus / blackbox is showing non existent website as UP . 

For Example:


 

Please advice. 

Thanks in advance.

--
You received this message because you are subscribed to the Google Groups "Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-developers+unsubscri...@googlegroups.com.
To post to this group, send email to prometheus-developers@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/CAEtPgHPG1XHKQN9zcapb%3DFPoV%3D5bPKzHYL-R6OBmPSXJrOAd8g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.



--




--

Unni Sathyarajan

unread,
May 27, 2018, 9:29:16 AM5/27/18
to Brian Brazil, Prometheus Developers
Thanks, Brian, I enabled ipv6 and it worked.
Reply all
Reply to author
Forward
0 new messages