Skip to content

Instantly share code, notes, and snippets.

@varuzhnikov
Created July 8, 2025 11:12
Show Gist options
  • Save varuzhnikov/ecf5caf13e5ce16fde7b8f21723d22b1 to your computer and use it in GitHub Desktop.
Save varuzhnikov/ecf5caf13e5ce16fde7b8f21723d22b1 to your computer and use it in GitHub Desktop.
Scrapping SSD SMART metrics snippet for prometheus.yml
- job_name: 'smartctl'
static_configs:
- targets: ['your_ip_is_here:9633']
relabel_configs:
- source_labels: [__address__]
regex: '.*'
target_label: instance
replacement: 'smartctl'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment