Prometheus SNMP Exporter
Last updated
Was this helpful?
Was this helpful?
scrape_configs:
- job_name: "Snmp"
static_configs:
- targets: ["localhost: 9116"]remote_write:
- url: "https://<your-ascent-env>/v1/receive/prometheus"
tls_config:
insecure_skip_verify: true
authorization:
type: "Bearer"
credentials: "<YOUR_INGEST_TOKEN>"write_relabel_configs:
- action: replace
source_labels: [__name__]
regex: "(.*)"
target_label: __name__
replacement: "ascent_$1"snmp_scrape_duration_seconds
snmp_scrape_request_errors_total
snmp_sys_uptime