[Apan-users] bandwidth utilization
Status: Beta
Brought to you by:
useless
|
From: none n. <sfi...@gm...> - 2006-11-15 13:34:09
|
Hi all , Regarding the bandwidth utilization plugin in the howto page , from what I understand it's supposed to show the number of bytes per-sec , but what it seems to be doing is building a set of the last values of received/sent packets on a specified interface and then averging the numbers in that set instead of calculating the difference between the current and last received/sent packets value on the given interface and then averaging the set of the differences , which is what it supposed to do to give an accurate bandwidth utilization . for instance if the last 5 values of received packets were 100,200,300,400,500 in that order ( which is normal because the value will never decrease unless it wraps around) , the average of those would be ((100+200+300+400+500)/5) when it's supposed to be (((200-100)+(300-200)-(400-300)+(500-400))/4) , this later caculation is necessary because these OIDs do not return the "Bandwidth utilization" but the number of packets received/sent on a given interface until the current point in time . Please correct me if I'm wrong . Thank you |