Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-3375

VLAN discovery broken on Juniper SRX300

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • Professional Edition
    • Discovery

    Description

      Hello !

      Here is the real VLAN attribution : 

      SRX300> show vlans
      Routing instance        VLAN name             Tag          Interfaces
      default-switch          DMZ                   999
                                                                 ge-0/0/3.0*
      default-switch          LAN                   10
                                                                 ge-0/0/0.0*
                                                                 ge-0/0/1.0*
                                                                 ge-0/0/2.0
                                                                 ge-0/0/3.0*
                                                                 ge-0/0/4.0*
                                                                 ge-0/0/6.0*
                                                                 ge-0/0/7.0
      default-switch          VPN                   1000
                                                                 ge-0/0/3.0*
      default-switch          WAN                   20
                                                                 ge-0/0/5.0*
      default-switch          default               1

       

       

       But here is what I got on discovery:

       1 10 20 999 1000+--------+----------+-----------+----------+-------------+
      | Domain | Vlan: ID | Name      | Type     | Status      |
      +--------+----------+-----------+----------+-------------+
      | 1      | 1        | default+1 | ethernet | operational |
      | 1      | 10       | LAN+10    | ethernet | operational |
      | 1      | 20       | WAN+20    | ethernet | operational |
      | 1      | 999      | DMZ+999   | ethernet | operational |
      | 1      | 1000     | VPN+1000  | ethernet | operational |
      +--------+----------+-----------+----------+-------------++---------+----------+------+---------------+-------+------+
      | ifIndex | ifDescr  | Vlan | STP: Priority | State | Cost |
      +---------+----------+------+---------------+-------+------+
      | 519     | ge-0/0/2 | 10   |               |       |      |
      | 519     | ge-0/0/2 | 20   |               |       |      |
      | 519     | ge-0/0/2 | 999  |               |       |      |
      | 519     | ge-0/0/2 | 1000 |               |       |      |
      | 520     | ge-0/0/3 | 10   |               |       |      |
      | 520     | ge-0/0/3 | 20   |               |       |      |
      | 520     | ge-0/0/3 | 999  |               |       |      |
      | 520     | ge-0/0/3 | 1000 |               |       |      |
      | 524     | ge-0/0/7 | 10   |               |       |      |
      | 522     | ge-0/0/5 | 20   |               |       |      |
      | 522     | ge-0/0/5 | 999  |               |       |      |
      | 522     | ge-0/0/5 | 1000 |               |       |      |
      | 523     | ge-0/0/6 | 20   |               |       |      |
      +---------+----------+------+---------------+-------+------+

      Attachments

        Activity

          [OBS-3375] VLAN discovery broken on Juniper SRX300

          Attachment uploaded again, with sanitized output

          rboissat Romain Boissat added a comment - Attachment uploaded again, with sanitized output

          I can provide public SNMP access if necessary. Thanks a lot!

          rboissat Romain Boissat added a comment - I can provide public SNMP access if necessary. Thanks a lot!

          Please make and attach additional information about the device:

          • full snmp dump from device:

            snmpwalk -v2c -c <community>  --hexOutputLength=0 -ObentxU <hostname> .1 > myagent.snmpwalk
            snmpwalk -v2c -c <community>  --hexOutputLength=0 -ObentxU <hostname> .1.3.6.1.4.1 >> myagent.snmpwalk

            If device not support SNMP version 2c, replace -v2c with -v1.

          • If you have problems with discovery or poller processes, please do and attach these debugs:

            ./discovery.php -d -h <device>
            ./poller.php -d -h <device>

          • additionally attach device and/or vendor specific MIB files

          Note, this comment is added automatically.

          bot Observium Bot added a comment - Please make and attach additional information about the device: full snmp dump from device: snmpwalk -v2c -c <community> --hexOutputLength=0 -ObentxU <hostname> .1 > myagent.snmpwalk snmpwalk -v2c -c <community> --hexOutputLength=0 -ObentxU <hostname> .1.3.6.1.4.1 >> myagent.snmpwalk If device not support SNMP version 2c, replace -v2c with -v1. If you have problems with discovery or poller processes, please do and attach these debugs: ./discovery.php -d -h <device> ./poller.php -d -h <device> additionally attach device and/or vendor specific MIB files Note, this comment is added automatically.

          People

            landy Mike Stupalov
            rboissat Romain Boissat
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: