Hello, today I installed Zabbix 7.2 upgraded from 4.2. In the old Zabbix, I had items to monitor the percentage utilization of interfaces using net.if.speed. Is it possible to use the same item in 7.2? I can't find it
Ad Widget
Collapse
How to monitor percentage utilization of interfaces
Collapse
X
-
From what I can see, net.if.speed is provided with the Zabbix agent template for Linux, but I can't find a host that supports it. I see the item reaches into /sys/class/.. but there's no information there about interface speed. On older machines, plain net.if.speed returns this information. Perhaps I just need to write a separate script to check interface speed and then create a calculated item to calculate percentage utilization.Comment
-
https://git.zabbix.com/projects/ZBX/...at=release/7.2mentioned file in this item contains IF speed...Interface {#IFNAME}: Speed It indicates the latest or current speed value of the interface. The value is an integer representing the link speed expressed in bits/sec.
This attribute is only valid for the interfaces that implement the ethtool get_link_ksettings method (mostly Ethernet).
Reference: https://www.kernel.org/doc/Documenta...ysfs-class-netZabbix agent vfs.file.contents["/sys/class/net/{#IFNAME}/speed"]
Preprocessing- Custom multiplier: 1000000
- Discard unchanged with heartbeat: 1h
There is no such item as net.if.speed. And never was...Last edited by cyber; 13-03-2025, 11:06.Comment
Comment