Page MenuHomePhabricator

prometheus support
Open, WishlistPublicFEATURE REQUEST


Is that possible add prmetheus monitoring support to vyos?


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Will be filled on close

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.