![]() OS X: No additional privileges are needed.Alternatively the capability can be set by executing setcap cap_net_raw+ep blackbox_exporter._group_range = 0 2147483647 to allow any user the ability Your distribution may configure _group_range by default in.Linux: either a user with a group within _group_range, theĬAP_NET_RAW capability or the root user is required.Windows: Administrator privileges are required.The ICMP probe requires elevated privileges to function: source_labels: target_label: vhost # and store it in 'vhost' label Permissions source_labels: target_label: _param_hostname # Make domain name become 'Host' header for probe requests target_label: _address_ replacement: 127.0.0.1:9115 # The blackbox exporter's real hostname:port. source_labels: target_label: _param_target replacement: # Make probe URL be like prometheus.io type: A port: 443 relabel_configs: Blackbox Exporter can give you HTTP response time statistics, response codes, information on SSL certificates, etc. job_name: blackbox_all metrics_path: /probe params: The blackbox-exporter is an exporter that can monitor various endpoints URLs on the Internet, your LoadBalancers in AWS, or Services in a Kubernetes cluster, such as MySQL or PostgreSQL databases. The blackbox exporter needs to be passed the target as a parameter, this can be To read the guide Understanding and using the multi-target exporter pattern Prometheus Configurationīlackbox exporter implements the multi-target exporter pattern, so we advice ![]() If neither is specified, it defaults to 120 seconds. This can be further limited by the timeout in the Blackbox exporter config file. The timeout of each probe is automatically determined from the scrape_timeout in the Prometheus config, slightly reduced to allow for network delays. ![]() HTTP, HTTPS (via the http prober), DNS, TCP socket, ICMP and gRPC (see permissions section) are currently supported.Īdditional modules can be defined to meet your needs. To specify which configuration file to load, use the -config.file flag.Īdditionally, an example configuration is also available. To view all available command-line flags, run. If the new configuration is not well-formed, the changes will not be applied.Ī configuration reload is triggered by sending a SIGHUP to the Blackbox exporter process or by sending a HTTP POST request to the /-/reload endpoint. Blackbox exporter is configured via a configuration file and command-line flags (such as what configuration file to load, what port to listen on, and the logging format and level).īlackbox exporter can reload its configuration file at runtime. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |