RARE/freeRouter - Prometheus metrics

Display freeRouter Prometheus metrics

RARE/freeRouter - Prometheus metrics screenshot 1

scope:local to freeRouter node

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

  • Create hardware and software sensor
sensor sensor
 path sensor/peer/peer
 prefix freertr-sensor
 prepend sensor_
 command sho sensor
 name 0 met=
 key name sensor/peer
 column 1 name asked
 column 2 name time
 exit
  • freeRtr server Prometheus agent configuration
server prometheus pr
 sensor sensor
 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
Metrics Endpoint (Prometheus)

Metrics Endpoint (Prometheus)

by Grafana Labs
Grafana Labs solution

Easily monitor any Prometheus-compatible and publicly accessible metrics URL with Grafana Cloud's out-of-the-box monitoring solution.

Learn more

Get this dashboard

Import the dashboard template

or

Download JSON

Datasource
Dependencies