Blackbox Exporter on Windows

1,243 views
Skip to first unread message

Loc Mai

unread,
Sep 22, 2022, 2:05:42 AM9/22/22
to Prometheus Users
Hi folks!

Follow-up with the issue opened (and closed) here - https://github.com/prometheus/blackbox_exporter/issues/695 - we figured out that the executable binary for Windows is not compatible for installing as a Windows service unless we implement the service with something like https://github.com/kardianos/service to handle the start/control requests from the Windows service manager.

I made a naive attempt here - https://github.com/locmai/blackbox_exporter/pull/1- and it works well for both Windows and Linux hosts. 

I wonder if this would be an acceptable solution or we would rather take a different route for installing blackbox as a Windows service?

Thanks in advance,
Loc.

Loc Mai

unread,
Sep 22, 2022, 10:17:39 AM9/22/22
to Prometheus Users
--
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/5e5f677c-8a61-45e5-8ba5-624623763f73n%40googlegroups.com.


--

Loc Mai – Site Reliability Engineer 

 090-858-4595  ► Skype: singsingfb

Loc Mai

unread,
Sep 27, 2022, 10:23:57 AM9/27/22
to Prometheus Users
Update: I made the PR to main repo here https://github.com/prometheus/blackbox_exporter/pull/971
Reply all
Reply to author
Forward
0 new messages