How to keep servers up while computer is off. (Blackbox_Exporter)

21 views
Skip to first unread message

Sean Coh

unread,
Feb 21, 2023, 4:07:08 PM2/21/23
to Prometheus Users
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 

Stuart Clark

unread,
Feb 21, 2023, 5:35:57 PM2/21/23
to Sean Coh, Prometheus Users
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
Reply all
Reply to author
Forward
0 new messages