mirror of
https://github.com/nshttpd/mikrotik-exporter.git
synced 2024-11-18 10:45:12 +01:00
Naive support for routes per RIP protocol
Our network uses RIP for internal routing. This feature allows monitoring routes distributed through RIP
This commit is contained in:
parent
4bfa7adfef
commit
0da4c106ce
@ -26,7 +26,7 @@ func (c *routesCollector) init() {
|
||||
c.countDesc = description(prefix, "total_count", "number of routes in RIB", labelNames)
|
||||
c.countProtocolDesc = description(prefix, "protocol_count", "number of routes per protocol in RIB", append(labelNames, "protocol"))
|
||||
|
||||
c.protocols = []string{"bgp", "static", "ospf", "dynamic", "connect"}
|
||||
c.protocols = []string{"bgp", "static", "ospf", "dynamic", "connect", "rip"}
|
||||
}
|
||||
|
||||
func (c *routesCollector) describe(ch chan<- *prometheus.Desc) {
|
||||
|
Loading…
Reference in New Issue
Block a user