Prometheus: Introduction to Prometheus Blackbox Exporter

This documentation is part of the Blackbox Exporter guide. You can view the complete guide here: How to use Prometheus Blackbox Exporter to probe HTTP and ICMP (ping) endpoints.

👋 Welcome to the Stackhero documentation!

Stackhero offers a ready-to-use Prometheus cloud solution designed for reliability and simplicity:

  • Alert Manager is included, allowing you to send alerts directly to Slack, Mattermost, PagerDuty, and other popular platforms.
  • A dedicated email server enables you to send unlimited email alerts with no additional configuration required.
  • Blackbox is provided, so you can probe HTTP, ICMP, TCP, and more for comprehensive monitoring.
  • Simple configuration with the online configuration file editor—no need to manage YAML manually.
  • Easy updates with just one click.
  • Optimal performance and enhanced security thanks to your own private, dedicated VM.

Save time and make your life easier: it takes just 5 minutes to try Stackhero's Prometheus cloud hosting solution!

The Prometheus Blackbox Exporter is a powerful tool that allows you to probe endpoints using various protocols, including HTTP, HTTPS, DNS, TCP, and ICMP. This flexibility enables comprehensive monitoring of different aspects of your infrastructure and services.

For example, when probing HTTP and HTTPS endpoints, you can:

  • Verify website availability by checking for a 2xx HTTP status code.
  • Ensure specific content is returned, such as matching a webpage title to the expected text.
  • Validate TLS certificates by retrieving their expiration dates, helping you prevent unexpected renewal issues.
  • Measure performance by assessing DNS resolution times and the duration of the TLS handshake.

Using ICMP, you can confirm that servers respond to ping requests and measure their response times. Additionally, DNS probing provides insights into reply timings, while TCP probing lets you connect to a service to verify the content and version of an SSH server banner.

Big picture of Stackhero for PrometheusBig picture of Stackhero for Prometheus