feat: add frr_exporter class
Build / precommit (pull_request) Successful in 4m56s

- add frr exporter to all nodes running frr
This commit is contained in:
2025-08-03 15:38:13 +10:00
parent 53fabc923b
commit 9deeacce22
10 changed files with 140 additions and 0 deletions
@@ -0,0 +1,15 @@
[Unit]
Description=Prometheus frr_exporter
Wants=network-online.target
After=network-online.target
[Service]
User=<%= @user %>
Group=<%= @group %>
ExecStart=<%= @exec_path %> --frr.socket.dir-path="<%= @socket_dir %>"
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=always
[Install]
WantedBy=multi-user.target