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
@@ -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