Re: [prometheus-users] How to keep servers up while computer is off. (Blackbox_Exporter)

2023-02-21 Thread Stuart Clark

On 21/02/2023 21:07, Sean Coh wrote:

Hi Guys,

I came across an issue where if I turn my computer off the services 
will go down a few minutes later and will not scrape my targets.


I know the blackbox host and port is: *127.0.0.1:9115. *Is there a way 
I can keep my targets scrape while my computer is away?


Do you mean you are switching off the machine which is running Blackbox 
Exporter or Prometheus?


--
Stuart Clark

--
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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/f0d23a58-1413-add8-067e-c80aed096b6e%40Jahingo.com.


[prometheus-users] How to keep servers up while computer is off. (Blackbox_Exporter)

2023-02-21 Thread Sean Coh
Hi Guys,

I came across an issue where if I turn my computer off the services will go 
down a few minutes later and will not scrape my targets.

I know the blackbox host and port is: *127.0.0.1:9115. *Is there a way I 
can keep my targets scrape while my computer is away? 

Relabel_Configs:
- source_labels: [__address__]
  target_label: __param_target
- source_labels: [__param_target]
   target_label: instance
- target_label: __address__
  replacement: 127.0.0.1:9115 

-- 
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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/c0d69284-2e04-4851-be53-ff84a81d0081n%40googlegroups.com.