Currently netdata
have metric
netdata_net_speed_kilobits_persec_average{chart="net_speed.gig0",family="gig0",dimension="speed"} 1000000.0000000 1679719048000
This mean that “iface gig0
connected on 1Gbit/sec phy speed”
We need to know situation when link may be:
- connected
- full duplex
- carrier up
But, not at full speed (for example on 100Mbit/s instead 1000Mbit/s). If netdata
provide MAX speed metric for a network physdev’s, the query for alert will be:
netdata_net_speed_kilobits_persec_average < netdata_net_speed_kilobits_max
And does’t matter if this 1Gbit or 25Gbit iface, one alert will cover any kind of this case
What exactly problem we try find and then fix
- Server has 25G NIC ports
- Engineers by mistake connect server with 10G SFP’s transceivers
- Link works on 10G, not at 25G
- We don’t know about that, because carrier is up, duplex is full