Solved

Monitor Aliased network interface bandwitch CentOS

Posted on 2016-09-10
4
72 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
  • 2
  • 2
4 Comments
 
LVL 76

Expert Comment

by:arnold
Comment Utility
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 6

Author Comment

by:David Sankovsky
Comment Utility
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 76

Accepted Solution

by:
arnold earned 500 total points
Comment Utility
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 6

Author Closing Comment

by:David Sankovsky
Comment Utility
snmp and PRTG did it! Thanks a lot mate!
1

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Over the years I've spent many an hour playing on hardened, DMZ'd servers, with only a sub-set of the usual GNU toy's to keep me company; frequently I've needed to save and send log or data extracts from these server back to my PC, or to others, and…
How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

744 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now