Page MenuHomeVyOS Platform

Create Prometheus Exporter for VyOS
Open, WishlistPublicFEATURE REQUEST


Prometheus already have a bunch of exporters here

We need to create one for VyOS


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)

Event Timeline

dongjunbo created this task.Nov 7 2018, 1:50 AM
syncer triaged this task as Wishlist priority.Nov 7 2018, 7:46 AM
syncer removed projects: VyOS 2.0.x, VyOS 1.2 Crux.
Raeven added a subscriber: Raeven.Dec 15 2018, 4:19 PM
albeu added a subscriber: albeu.Feb 18 2019, 12:00 PM
pasik added a subscriber: pasik.Mar 12 2019, 6:08 PM

You can scrap SNMP to prometheus. Not sure if you want any gauges not covered by snmp

install snmp-exporter
/etc/prometheus/prometheus.yml :
  - job_name: 'snmp'
    - targets:
    metrics_path: /snmp
      - source_labels: [__address__]
        target_label: __param_target
      - source_labels: [__param_target]
        target_label: instance
      - target_label: __address__
        replacement:  # The SNMP exporter's real hostname:port.
albeu added a comment.Jun 5 2019, 7:00 AM

SNMP can be used as a workaround, but it is not suitable for much more than a couple metrics because is it very inefficient. Moreover the prometheus node exporter provide many more metrics out of the box.

syncer renamed this task from prometheus support to Create Prometheus Exporter for VyOS .Mar 1 2020, 9:45 PM
syncer assigned this task to kroy.
syncer updated the task description. (Show Details)
syncer set Is it a breaking change? to Unspecified (possibly destroys the router).