David Sankovsky
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.
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.
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.
My quesiton still stands.
How can I look at the Tx and Rx values of Aliased Network interfaces.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
snmp and PRTG did it! Thanks a lot mate!
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 ......