Skip to content

snoesberger/smp-exporter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SMP Exporter

Build

go build

Prometheus Configuration

Example config:

scrape_configs:
  - job_name: "smp"
    metrics_path: /probe
    basic_auth:
      username: user
      password: CHANGE_ME
    static_configs:
      - labels:
          device: smp351
        targets:
        - https://SMP_URL
    relabel_configs:
      - source_labels: [__address__]
        target_label: __param_target
      - source_labels: [__param_target]
        target_label: instance
      - source_labels: [instance]
        regex: .*\/\/([^\.]*)
        replacement: $1
        target_label: instance
      - target_label: __address__
        replacement: 127.0.0.1:9109

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%