feat: add frr_exporter class (#369)

- add frr exporter to all nodes running frr

Reviewed-on: #369
This commit was merged in pull request #369.
This commit is contained in:
2025-08-03 16:15:29 +10:00
parent 53fabc923b
commit 75ca7a5685
10 changed files with 140 additions and 0 deletions
+5
View File
@@ -2,6 +2,7 @@
hiera_include:
- frrouting
- profiles::haproxy::server
- exporters::frr_exporter
# networking
anycast_ip: 198.18.19.17
@@ -19,6 +20,7 @@ networking::interfaces:
mtu: 1500
# frrouting
exporters::frr_exporter::enable: true
frrouting::ospfd_router_id: "%{facts.networking.ip}"
frrouting::ospfd_redistribute:
- connected
@@ -69,6 +71,9 @@ profiles::consul::client::node_rules:
- resource: service
segment: haproxy-metrics
disposition: write
- resource: service
segment: frr_exporter
disposition: write
# haproxy
profiles::haproxy::peers::enable: true