RARE/freeRouter - Distance Vector IGP peers

Display distance vector IGP peer metrics

RARE/freeRouter - Distance Vector IGP peers screenshot 1

scope:local to freeRouter node

freeRouter Prometheus configuration: (copy & paste in freeRouter CLI)

  • Create hardware and software sensor
sensor dvigp4int
path dvigp4int/peer/peer
prefix freertr-dvigp4int
key name dvigp4int/peer
command sho ipv4 pvrp 1 interface
prepend dvigp4_iface_
name 0 proto="pvrp1",ifc=
replace \. _
column 1 name neighbors
.
exit

sensor dvigp4peer
path dvigp4peer/peer/peer
prefix freertr-dvigp4peer
key name dvigp4peer/peer
command sho ipv4 pvrp 1 summary
prepend dvigp4_peers_
name 4 proto="pvrp1",ip=
replace \. _
column 5 name learn
column 6 name advert
.
exit

sensor dvigp6int
path dvigp6int/peer/peer
prefix freertr-dvigp6int
key name dvigp6int/peer
command sho ipv6 pvrp 1 interface
prepend dvigp6_iface_
name 0 proto="pvrp1",ifc=
replace \. _
column 1 name neighbors
.
exit

sensor dvigp6peer
path dvigp6peer/peer/peer
prefix freertr-dvigp6peer
key name dvigp6peer/peer
command sho ipv6 pvrp 1 summary
prepend dvigp6_peers_
name 4 proto="pvrp1",ip=
replace \: _
column 5 name learn
column 6 name advert
.
exit
  • freeRtr server Prometheus agent configuration
server prometheus pr
 sensor dvigp4int
 sensor dvigp4peer
 sensor dvigp6peer
 vrf <PROMETHEUS_VRF>
 exit
  • Prometheus server configuration (sample config with 2 nodes)
global:
  scrape_interval: 15s
  scrape_timeout: 10s
  evaluation_interval: 30s
alerting:
  alertmanagers:
  - static_configs:
    - targets: []
    scheme: http
    timeout: 10s
scrape_configs:
- job_name: router
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: http
  static_configs:
  - targets:
    - <prometheus_agent_ip_1>:9001
    labels:
      node_name: <prometheus_agent_1_node_name>
  - targets:
    - <prometheus_agent_ip_2>:9001
    labels:
      node_name: <prometheus_agent_2_node_name>
Revisions
RevisionDescriptionCreated

Get this dashboard

Import the dashboard template

or

Download JSON

Datasource
Dependencies