1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
From: Daniel Swarbrick <dswarbrick@debian.org>
Date: Fri, 15 Mar 2024 15:25:12 +0100
Subject: Set defaults that make sense for Debian systems.
Forwarded: not-needed
Last-Update: 2023-06-12
---
collector/collector.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/collector/collector.go b/collector/collector.go
index 225fc1c..b82ee11 100644
--- a/collector/collector.go
+++ b/collector/collector.go
@@ -32,7 +32,7 @@ var (
"frrCollectorUp": promDesc("collector_up", "Whether the collector's last scrape was successful (1 = successful, 0 = unsuccessful).", frrLabels),
}
- socketDirPath = kingpin.Flag("frr.socket.dir-path", "Path of of the localstatedir containing each daemon's Unix socket.").Default("/var/run/frr").String()
+ socketDirPath = kingpin.Flag("frr.socket.dir-path", "Path of of the localstatedir containing each daemon's Unix socket.").Default("/run/frr").String()
socketTimeout = kingpin.Flag("frr.socket.timeout", "Timeout when connecting to the FRR daemon Unix sockets").Default("20s").Duration()
factories = make(map[string]func(logger *slog.Logger) (Collector, error))
|