You are browsing a read-only backup copy of Wikitech. The primary site can be found at wikitech.wikimedia.org

Prometheus/Exporters

From Wikitech-static
< Prometheus
Revision as of 03:27, 11 August 2016 by imported>Yuvipanda (Yuvipanda moved page Prometheus/Black box exporter to Prometheus/Exporters)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

What is it?

The blackbox exporter allows blackbox probing of endpoints over HTTP, HTTPS, DNS, TCP and ICMP. These would be similar to 'active checks' in Icinga.

Building deb

Since Go and Debian versioning practices differ very much and there does not seem to be any solution that actually works without requiring a PhD in Debian Package management, fpm is used to build the deb.

  1. Check out the version of blackbox_exporter you wanna build, make sure it is in appropriate place in your gopath
  2. run PREFIX=out/usr/bin make
  3. run fpm -s dir -t deb -n prometheus-blackbox-exporter -v `cat VERSION` -C out/ -p prometheus-blackbox-exporter_VERSION_ARCH.deb