Prometheus blackbox exporter - monitoring http endpoints

46 views
Skip to first unread message

rs vas

unread,
Mar 15, 2020, 3:23:09 AM3/15/20
to Prometheus Users
Have a use-case for monitoring http end points up or not. After doing some research found that blackbox exporter can be used to achieve the same.

What is the recommendation, like do we need to run the blackbox exporter on the same instance or is it ok to run blackbox exporter on prometheus box itself? Appreciate your input!

Brian Candler

unread,
Mar 15, 2020, 5:04:28 AM3/15/20
to Prometheus Users
It's fine to run it on the prometheus box itself, or any other server where you want the probe requests to originate from.

There's no need to run it on the target host - indeed it's better not to, as it's a more realistic test to probe over the network.

rs vas

unread,
Mar 16, 2020, 2:15:13 PM3/16/20
to Brian Candler, Prometheus Users
Thanks Brian! My worry is: does this blackbox exporter eat-up too many resources on prometheus server which might cause performance issues on Prometheus process? Just want to make sure before automating the process. So it's safe to run blackbox exporter on prometheus box itself? Any issues or alarms I should be aware of?

On Sun, Mar 15, 2020 at 2:04 AM Brian Candler <b.ca...@pobox.com> wrote:
It's fine to run it on the prometheus box itself, or any other server where you want the probe requests to originate from.

There's no need to run it on the target host - indeed it's better not to, as it's a more realistic test to probe over the network.

--
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-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/b59e7bef-9d8e-40ae-8892-648f3b3c401b%40googlegroups.com.

Brian Candler

unread,
Mar 16, 2020, 2:40:03 PM3/16/20
to Prometheus Users
If you were probing a tens of thousands of endpoints every second then it might become an issue, but in general blackbox exporter takes very few resources (certainly compared to prometheus itself).  It's essentially stateless.

It's easy to move blackbox_exporter onto separate host(s) later if you need to.
Reply all
Reply to author
Forward
0 new messages