All of my ubuntu network interfaces (physical and other) are found, but the network speed is undefined:
Do I need to configure a setting, or reset a config file?
All of my ubuntu network interfaces (physical and other) are found, but the network speed is undefined:
Do I need to configure a setting, or reset a config file?
Hey, @jonwaland. Netdata gathers the speed by reading /sys/class/net/<iface>/speed
(sysfs-class-net).
Indicates the interface latest or current speed value. Value is an integer representing the link speed in Mbits/sec. Note: this attribute is only valid for interfaces that implement the ethtool get_link_ksettings method (mostly Ethernet).
So it is undefined if /sys/class/net/<iface>/speed
returns -1
- ND doesn’t know the speed of the interface.
walaj - jonlabnuc - SSH : sys / class / net / eno1 / $ uname -a
Linux jonlabnuc 5.4.0-165-generic #182-Ubuntu SMP Mon Oct 2 19:43:28 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
walaj - jonlabnuc - SSH : sys / class / net / eno1 / $ cat speed
1000
Ok, I think I just misunderstood your question. The speed is not undefined, it shows the value. It is wrong and should be 1000Mbit - fixed in 16418:
What is undefined is the interface_speed alarm - it just means that it has no trigger (warn, crit) conditions. That is expected, this alarm (calculated value) is used in other alarms.
Ah - my misunderstanding then - thanks!