mirror of
https://github.com/nshttpd/mikrotik-exporter.git
synced 2024-11-18 10:45:12 +01:00
Merge pull request #129 from digitalentity/de_rip_support
Naive support for routes per RIP protocol
This commit is contained in:
commit
00cc1d36e5
@ -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