mirror of
https://github.com/nshttpd/mikrotik-exporter.git
synced 2025-01-04 18:07:50 +01:00
monitor: add 2.5G rate for interfaces
This commit is contained in:
parent
e1b06c6ebe
commit
5caff832b8
@ -107,6 +107,8 @@ func (c *monitorCollector) valueForProp(name, value string) int {
|
|||||||
return 100
|
return 100
|
||||||
case v == "1Gbps":
|
case v == "1Gbps":
|
||||||
return 1000
|
return 1000
|
||||||
|
case v == "2.5Gbps":
|
||||||
|
return 2500
|
||||||
case v == "10Gbps":
|
case v == "10Gbps":
|
||||||
return 10000
|
return 10000
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user