Network utilization metrics
I thought we could implement the network throughput utilization metrics as part of #2547, but sigar doesn't provide the max speed info of the network interfaces on linux.
http://communities.vmware.com/thread/356304
https://jira.hyperic.com/browse/SIGAR-220
Therefore this metrics is postponed to later.
The interesting methods of the sigar api for this:
Note that getRxBytes and getTxBytes returns the total number of bytes, so calculation of throughput rate between observations needs to be implemented manually.
http://communities.vmware.com/thread/356304
https://jira.hyperic.com/browse/SIGAR-220
Therefore this metrics is postponed to later.
The interesting methods of the sigar api for this:
- getNetInterfaceList - names of the network interfaces
- getNetInterfaceStat - the stats
- getRxBytes - inbound bytes
- getTxBytes - outbound bytes
- getSpeed - the max speed, which is not implemented for linux
Note that getRxBytes and getTxBytes returns the total number of bytes, so calculation of throughput rate between observations needs to be implemented manually.
Leave a comment