Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Tue Apr 23, 2019 5:06 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Cacti to Monitor Spanned Port.
PostPosted: Mon Feb 11, 2019 10:05 am 
Offline

Joined: Mon Feb 11, 2019 9:51 am
Posts: 3
I am trying to monitor the bandwidth of a spanned port. For instance I am mirroring port 3 to port 1. Port 3 is vlan interface sending its traffic to an IDS sensor. I want to be able to monitor the bandwidth of the traffic that that is passing through port 1. There may come a time that I need to mirror another vlan interface to port 1 and would like to see the bandwidth increases created. I cant monitor port 3 directly because it is a vlan interface or a vtap. Does anyone know of a way to do this or whether or not it is even possible with cacti?


Top
 Profile  
 
 Post subject: Re: Cacti to Monitor Spanned Port.
PostPosted: Mon Feb 11, 2019 10:19 am 
Offline
Cacti User
User avatar

Joined: Fri Feb 10, 2017 2:45 pm
Posts: 227
Location: Long Island, New York, USA
I can understand why you cannot get traffic statistics on a VLAN, but port1 is port1, a physical interface. There should be no reason why you could not get the traffic passing across that interface. What type (brand/model) of device is this?

_________________
See the Cacti 1.x templates I use at: http://www.camerabob.com/cacti

Live: Cacti 1.2.3 @ CentOS 7-6.1810.2.el7
Test: Cacti 1.2.3 @ CentOS 7-6.1810.2.el7


Top
 Profile  
 
 Post subject: Re: Cacti to Monitor Spanned Port.
PostPosted: Mon Feb 11, 2019 3:30 pm 
Offline

Joined: Mon Feb 11, 2019 9:51 am
Posts: 3
Agreed. I totally get that aspect. The physical port is what has stumped me as well. This is an S Series Extreme/Enterasys chassis based switch. In the IDS itself, I can certainly see traffic being sent to the sensor from within the alerts and they are IP addresses from the corresponding vlan subnet. Just for some reason, Cacti is either not seeing the statistics because it is mirrored or something along those lines. However, I do not understand why that would be.


Top
 Profile  
 
 Post subject: Re: Cacti to Monitor Spanned Port.
PostPosted: Tue Feb 12, 2019 5:25 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2401
Use SNMPWALK to see what values you are getting back for the interfaces. If you are unsure of the OIDs being used, check the interface.xml file in resources/snmp_queries. You may need to then go a bit wider and see what you are getting data returned for on that port because the chances are it's not the standard OID's so you're going to have to write a customised template for it.

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Cacti to Monitor Spanned Port.
PostPosted: Tue Feb 12, 2019 10:26 am 
Offline

Joined: Mon Feb 11, 2019 9:51 am
Posts: 3
Please overlook my ignorance bu I am not sure of how to perform that within cacti. Not the snmp guru.


Top
 Profile  
 
 Post subject: Re: Cacti to Monitor Spanned Port.
PostPosted: Wed Feb 13, 2019 8:57 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2401
SNMPWALK is a cli program on Linux. The interface.xml file is in the resources/scripts folder of your cacti installation.

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group