Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Monitor Aliased network interface bandwitch CentOS

Posted on 2016-09-10
4
Medium Priority
?
119 Views
Last Modified: 2016-09-20
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.
0
Comment
Question by:David Sankovsky
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 79

Expert Comment

by:arnold
ID: 41793058
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 ......
0
 
LVL 7

Author Comment

by:David Sankovsky
ID: 41799768
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.
0
 
LVL 79

Accepted Solution

by:
arnold earned 2000 total points
ID: 41799813
you can poll the switch/device using snmp and cacti, mrtg, etc. can display in a graphical format.
You have to see whether your device provides for SNMP listing of the virtualized interface.
The same would apply on the server itself
snmpwalk localhost and see whether the network interfaces are listed there, then you would have to identify the OID that are of interest to you for each......
1
 
LVL 7

Author Closing Comment

by:David Sankovsky
ID: 41808132
snmp and PRTG did it! Thanks a lot mate!
1

Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Suggested Courses

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question