Hi all,
I have written a Perl script that (very) roughly meters network bandwidth to a host selected on a network map. The script can be added to Zabbix through Administration->Scripts menu.
Metering is done by sending ICMP pings of different size and calculating network bandwidth based on round-trip time (RTT) and packet size according to the formula:
Bandwidth = Packet size / (RTT/1000/2).
Metered bandwidth greatly depends on the packet size. The highest speed is achieved at the largest packet size (65535 bytes including ICMP and IP headers). One more thing to note is that metered bandwidth is the average of upload and download bandwidths.
Comments are welcome.
I have written a Perl script that (very) roughly meters network bandwidth to a host selected on a network map. The script can be added to Zabbix through Administration->Scripts menu.
Metering is done by sending ICMP pings of different size and calculating network bandwidth based on round-trip time (RTT) and packet size according to the formula:
Bandwidth = Packet size / (RTT/1000/2).
Metered bandwidth greatly depends on the packet size. The highest speed is achieved at the largest packet size (65535 bytes including ICMP and IP headers). One more thing to note is that metered bandwidth is the average of upload and download bandwidths.
Comments are welcome.
Comment