Link to home
Start Free TrialLog in
Avatar of David Sankovsky
David SankovskyFlag for Israel

asked on

Monitor Aliased network interface bandwitch CentOS

Hi Experts,

We are building an automated HAProxy + NGINX environment to host high load web campaigns.
One of the requirements is obviously to know how much traffic each campaign used during the running time.

My question is this, Assuming I use "Virtual" or "Aliased" network interfaces i.e:

ens160
ens160:1
ens160:2

and so forth and so forth, Can I somehow gather TX and RC statistics for each one?
if I try to grep that info from the ifcfg interface, I only get the information for the actual interface, not the virtual ones.
Avatar of arnold
arnold
Flag of United States of America image

Why look at network traffic, where summing data transferred from the web server/Proxy log will provide the differentiation you are looking for .
What you need to use is log crunchers that will reflect the amount of data transferred and if you need it in bndwidth,  some calculate/represent that...

The requests are of minimal size so your representation wou,d be outgoing bandwidth ......
Avatar of David Sankovsky

ASKER

ok, Even asuuming I can do it using the Apache Logs (Or NGINX LOgs in this case)
My quesiton still stands.
How can I look at the Tx and Rx values of Aliased Network interfaces.
ASKER CERTIFIED SOLUTION
Avatar of arnold
arnold
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
snmp and PRTG did it! Thanks a lot mate!