OID to get the traffic rate of the swithes interfaces

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

Moderators: Moderators, Developers

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

OID to get the traffic rate of the swithes interfaces

#1 Post by salmanJ » Mon May 06, 2019 1:41 am

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 of Physical interfaces_Member ports of LAG.PNG
Graph for physical interfaces
Graph of Physical interfaces_Member ports of LAG.PNG (191.25 KiB) Viewed 447 times
Graph of LAG A2E-C02-to-D01.PNG
Graph for LAG interface 4x100G
Graph of LAG A2E-C02-to-D01.PNG (189.34 KiB) Viewed 447 times

netniV
Cacti Guru User
Posts: 2809
Joined: Sun Aug 27, 2017 12:05 am

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

#2 Post by netniV » Fri May 17, 2019 3:51 pm

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.

Base64
Posts: 4
Joined: Wed Aug 14, 2019 5:13 am

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

#3 Post by Base64 » Sun Sep 22, 2019 8:31 pm

Hey, can you send me a template? Can you tell me how to do it?

User avatar
camerabob
Cacti User
Posts: 286
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

#4 Post by camerabob » Mon Sep 23, 2019 9:54 am

Check to see that you don't have a maximum set on that template to 100G. Looks like you do.
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 & PHP 5.4.16-46.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4

Test: Cacti 1.2.5 @ CentOS 7-6.1810.2.el7 & PHP 5.4.16-46.el7
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4

Post Reply