Skip to content

Instantly share code, notes, and snippets.

@SuperQ
Created May 30, 2017 13:14
Show Gist options
  • Save SuperQ/6db45c65489fe8771e9b9c271e56431e to your computer and use it in GitHub Desktop.
Save SuperQ/6db45c65489fe8771e9b9c271e56431e to your computer and use it in GitHub Desktop.
Blackbox ICMP
- job_name: 'blackbox-icmp'
metrics_path: /probe
params:
module: [icmp]
static_configs:
- targets:
- 8.8.8.8
relabel_configs:
- source_labels: [__address__]
target_label: __param_target
- source_labels: [__param_target]
target_label: instance
- target_label: __address__
replacement: 127.0.0.1:9115 # Blackbox exporter.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment