RARE/freeRouter - LDP null dashboard
LDP dashboard global to a backbone network
scope:global
to freeRouter node
freeRouter Prometheus configuration: (copy & paste in freeRouter CLI)
- Create hardware and software sensor
sensor ldp4nul
path ldp4nul/peer/peer
prefix freertr-ldp4nul
key name ldp4nul/peer
command sho ipv4 ldp inet nulled-summary
prepend ldp4null_
name 3 ip=
skip 2
replace \. _
column 0 name prefix_learn
column 1 name prefix_advert
column 2 name prefix_nulled
.
exit
sensor ldp6nul
path ldp6nul/peer/peer
prefix freertr-ldp6nul
key name ldp6nul/peer
command sho ipv6 ldp inet nulled-summary
prepend ldp6null_
name 3 ip=
skip 2
replace \: _
column 0 name prefix_learn
column 1 name prefix_advert
column 2 name prefix_nulled
.
exit
- freeRtr server Prometheus agent configuration
server prometheus pr
sensor ldp4nul
sensor ldp6nul
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>
Data source config
Collector config:
Upload an updated version of an exported dashboard.json file from Grafana
Revision | Description | Created | |
---|---|---|---|
Download |