Welcome, Guest. Please login or register.

Author Topic: Monitoring VLAN Traffic for VTAP Interface with SMON?  (Read 2294 times)

SchmuFoo

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
Monitoring VLAN Traffic for VTAP Interface with SMON?
« on: January 10, 2019, 01:23:39 pm »
Hello,

I have configured a few VTAP Interfaces for SMON Monitoring on an Enterasys Switch.

According to..

http://cric.grenoble.cnrs.fr/Administrateurs/Outils/MIBS/?module=SMON-MIB&fournisseur=ietf

I should use..

http://cric.grenoble.cnrs.fr/Administrateurs/Outils/MIBS/?oid=1.3.6.1.2.1.16.22.1.2.2.1.5

.. for this.

Does NeDi Support this?


NeDi Discovery sees the Interface during discovery as:

Code: [Select]
IF :100099 vtap.0.999 0 - 3 0 IEEE 802.1Q VLA 0
On the Device-Status.php it shows up as Interface with Name: "IEEE 802.1Q VLAN 999 Tap Interface"

But when I open up the rt-popup.php, I can't see the Traffic -> "Cannot get data about interface 1000999"

Code: [Select]
Switch(su)->show smon vlan

Data Source      : vtap.0.999
Status           : Enabled
Last Enable Time : 2019-01-10 11:46:54
Owner            : (none)
--------------------------------------

Vlan    NonUnicast Packets     NonUnicast Octets         Total Packets          Total Octets
----  --------------------  --------------------  --------------------  --------------------
999                    460                 41572                 60803              10695850


Cheers,
Jan

P.S.: I'm also not able to do a normal snmpget for ifInOctets for that interface (Altough I'm not sure why NeDi Discovery says 100099 but rt-popup is mentioning 1000999)

Code: [Select]
X:/usr/share/snmp/mibs # snmpget -v2c -c X 10.23.10.252 ifInOctets.1000999
IF-MIB::ifInOctets.1000999 = No Such Instance currently exists at this OID

X:/usr/share/snmp/mibs # snmpget -v2c -c X 10.23.10.252 ifInOctets.100099
IF-MIB::ifInOctets.100099 = No Such Instance currently exists at this OID
« Last Edit: January 10, 2019, 01:49:00 pm by SchmuFoo »

SchmuFoo

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
Re: Monitoring VLAN Traffic for VTAP Interface with SMON?
« Reply #1 on: February 05, 2019, 03:24:36 pm »
One step closer: smonVlanIdStatsTotalOctets:

http://cric.grenoble.cnrs.fr/Administrateurs/Outils/MIBS/?oid=1.3.6.1.2.1.16.22.1.2.2.1.7

Based on an SNMPwalk of that, my specific VLAN Index-Mapping is:

The instance for VLAN 99 is .1.99
The instance for VLAN 999 is .2.999

So for my queries:

Code: [Select]
nedi01-bn:~ # snmpget -v2c -c .. IP 1.3.6.1.2.1.16.22.1.2.2.1.7.1.99
RMON-MIB::rmon.22.1.2.2.1.7.1.99 = Counter64: 147497497837163

nedi01-bn:~ # snmpget -v2c -c .. IP 1.3.6.1.2.1.16.22.1.2.2.1.7.2.999
RMON-MIB::rmon.22.1.2.2.1.7.2.999 = Counter64: 125397217538


Now the only question is, can I map those OID values to the Graph under https://nedi.foobar.tld/Devices-Graph.php?dv=DEVICENAME&if[]=vtap.0.999&it[]=t and rt-popup? The will be needed some calculation to compare the delta between two values (Bytes) and optional to rewrite it to bps instead of Bps..