OID to get the traffic rate of the swithes interfaces

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
salmanJ
Posts: 1
Joined: Sun May 05, 2019 5:59 am

OID to get the traffic rate of the swithes interfaces

Post by salmanJ »

Hi,

I am using Cacti as SNMP server to poll information from my network switches.
I want to get the graph of traffic passing through the switches interfaces (traffic rate of interfaces). Please confirm the OID to calculate the interfaces traffic rate. Currently I am using OID 1.3.6.1.2.1.31.1.1.1.10

The problem is, I am getting the graph of the physical interfaces through this OID but unable to get the complete graph of LAG interfaces. For LAG interfaces, I am getting breaks in the graph and it is not continuous.

Moreover, my LAG interfaces are bundle of 4x100G interfaces and the traffic rate at any time for these interfaces is not showing above 100G.

Please suggest solution

Regards,
Salman
Attachments
Graph for physical interfaces
Graph for physical interfaces
Graph of Physical interfaces_Member ports of LAG.PNG (191.25 KiB) Viewed 2242 times
Graph for LAG interface 4x100G
Graph for LAG interface 4x100G
Graph of LAG A2E-C02-to-D01.PNG (189.34 KiB) Viewed 2242 times
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: OID to get the traffic rate of the swithes interfaces

Post by netniV »

The OIDs for your lag interface will most likely be specific to your switch vendor. You can normally find these by googling for the MIBs of your model. If you are seeing gaps that may be because you are monitoring the physical ports individually rather than the cumulative one.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Base64
Posts: 12
Joined: Wed Aug 14, 2019 5:13 am

Re: OID to get the traffic rate of the swithes interfaces

Post by Base64 »

Hey, can you send me a template? Can you tell me how to do it?
User avatar
camerabob
Cacti User
Posts: 386
Joined: Fri Feb 10, 2017 2:45 pm
Location: Long Island, New York, USA
Contact:

Re: OID to get the traffic rate of the swithes interfaces

Post by camerabob »

Check to see that you don't have a maximum set on that template to 100G. Looks like you do.
Prod: Cacti 1.2.15 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4

Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests