Ad Widget

Collapse

SNMPv3, Aruba 2930M OID / int discovery - no Trk interfaces listed

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dlogan
    Junior Member
    • Mar 2021
    • 3

    #1

    SNMPv3, Aruba 2930M OID / int discovery - no Trk interfaces listed

    I'm trying to get bandwidth utilization to show on a link between 2 switches. So I'm trying to find how to reference the interfaces (LACP trunks between all my switches) but in Monitoring -> Hosts -> <Switch Name> -> Inventory -> Items my trunk interfaces are not even listed.
    I've been Googling for a while about MIBs, OIDs, Zabbix discovery rules, etc but I'm not having much luck. I can't even find an Aruba document with OIDs listed to even try some queries.

    I've added the hosts using the template: "HP Enterprise Switch SNMP". It discovers all the "normal" interfaces (ports 1/1, 1/2, 1/A1, etc, etc) but it does not list trunk interfaces. The discovery rule for this looks like:
    discovery[{#ENT_CLASS},1.3.6.1.2.1.47.1.1.1.1.5,{#ENT_NAME}, 1.3.6.1.2.1.47.1.1.1.1.7]

    Can someone point me in the right direction?
  • dlogan
    Junior Member
    • Mar 2021
    • 3

    #2
    Thank you for your response. Please bare with me, as both Zabbix and these OID's are new to me, I've never really looked behind the scenes at SNMP operations. I've started reading Essential SNMP 2nd edition and I've been playing around with some snmpwalks and digging around a bit more in the Zabbix interface.
    It appears that discovery rules above were not where the interfaces were being discovered. Instead they are discovered by another discovery rule called "Network interfaces discovery" with the following OID's, I've made some notes by them as I walked and looked them up in an OID database:

    discovery[
    {#IFOPERSTATUS} 1.3.6.1.2.1.2.2.1.8 ( 1=up, 2=down, 3=testing, 4=unknown ) (current operational state)
    {#IFADMINSTATUS} 1.3.6.1.2.1.2.2.1.7 ( 1=up, 2=down, 3=testing ) (desired operational state)
    {#IFALIAS} 1.3.6.1.2.1.31.1.1.1.18 ( "Bob's Office Unused", "John's Avaya Phone", etc )
    {#IFNAME} 1.3.6.1.2.1.31.1.1.1.1 ( "1/1", "Trk1", "VLAN2", etc )
    {#IFDESCR} 1.3.6.1.2.1.2.2.1.2 ( Appears to be identical output as IFNAME )
    {#IFTYPE} 1.3.6.1.2.1.2.2.1.3 ( 6=ethernet, 161=IEEE 802.3ad Link Aggregate, 53 = Proprietary virtual / internal interface -- VLANs, 24 = loopback )

    When I walk these OID's, I do see my Trk (link aggregate interfaces) but they do not show up under Items in the monitored host (a switch in this case).

    There is a Filters tab with things like
    {#IFALIAS} matches {$NET.IF.IFALIAS.MATCHES}
    {#IFALIAS} does not match {$NET.IF.IFALIAS.NOT_MATCHES}

    But I'm not sure if that has anything to do with this or not.

    Comment

    • dlogan
      Junior Member
      • Mar 2021
      • 3

      #3
      I just changed one of the switches from the "HP Enterprise Switch SNMP" template to the "Network Generic Device SNMP" and it shows the Trk and VLAN interfaces in the Items list. So something is being filtered further by the HP Enterprise template I guess? I thought I was picking the right template as I'm using Aruba switches.

      Comment

      • cyber
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Dec 2006
        • 4807

        #4
        If you do snmpwalk with those OIDs... are your needed trunks listed? If not, you should find a way to discover them. Maybe add additional discovery rule for that etc.

        Comment

        • cyber
          Senior Member
          Zabbix Certified SpecialistZabbix Certified Professional
          • Dec 2006
          • 4807

          #5
          I guess that's the filtering part there... What IF-s to consider for items and what not. IFTYPE probably... Just compare those filters of both templates and you might get your answer...
          Those default templates, they provide you with a good starting point, but you should always modify them to suit...

          Comment

          Working...