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

FreeBSD and bsnmpd have support for BRIDGE-MIB.

Details

    • Improvement
    • Resolution: Fixed
    • Trivial
    • None
    • None
    • None
    • None
    • FreeBSD 10.2

    Description

      FreeBSD have support for the BRIDGE-MIB but after looking at fdb-table.inc.php it seems to me that it sort of requires Q-BRIDGE-MIB before it even polls the BRIDGE-MIB. Could this be fixed?

      1. /usr/local/bin/snmpbulkwalk -v2c -c *** -Pu -OqsX -m BRIDGE-MIB -M /usr/local/www/observium/mibs 'udp':'gw':'161' dot1dTpFdbTable
        dot1dTpFdbAddress[6:0:22:41:24:bd].39 0:22:41:24:bd:27
        dot1dTpFdbAddress[6:0:cd:fe:e6:ab].212 0:cd:fe:e6:ab:d4
        dot1dTpFdbAddress[6:10:60:4b:34:e5].208 10:60:4b:34:e5:d0
        dot1dTpFdbAddress[6:10:60:4b:34:e5].209 10:60:4b:34:e5:d1
        dot1dTpFdbAddress[6:58:55:ca:f3:8a].39 58:55:ca:f3:8a:27
        dot1dTpFdbAddress[6:8c:fa:ba:b6:2b].20 8c:fa:ba:b6:2b:14
        dot1dTpFdbAddress[6:94:de:80:c1:4f].189 94:de:80:c1:4f:bd
        dot1dTpFdbPort[6:0:22:41:24:bd].39 2
        dot1dTpFdbPort[6:0:cd:fe:e6:ab].212 8
        dot1dTpFdbPort[6:10:60:4b:34:e5].208 2
        dot1dTpFdbPort[6:10:60:4b:34:e5].209 2
        dot1dTpFdbPort[6:58:55:ca:f3:8a].39 8
        dot1dTpFdbPort[6:8c:fa:ba:b6:2b].20 8
        dot1dTpFdbPort[6:94:de:80:c1:4f].189 2
        dot1dTpFdbStatus[6:0:22:41:24:bd].39 learned
        dot1dTpFdbStatus[6:0:cd:fe:e6:ab].212 learned
        dot1dTpFdbStatus[6:10:60:4b:34:e5].208 learned
        dot1dTpFdbStatus[6:10:60:4b:34:e5].209 learned
        dot1dTpFdbStatus[6:58:55:ca:f3:8a].39 learned
        dot1dTpFdbStatus[6:8c:fa:ba:b6:2b].20 learned
        dot1dTpFdbStatus[6:94:de:80:c1:4f].189 learned

      Attachments

        Activity

          [OBS-1686] FreeBSD and bsnmpd have support for BRIDGE-MIB.

          Added in r9387.

          landy Mike Stupalov added a comment - Added in r9387.

          Aha, fine, seems as possible to detect..
          if possible, attach full device walk:

          snmpwalk -v2c -c <community> -On <device> .1
          

          landy Mike Stupalov added a comment - Aha, fine, seems as possible to detect.. if possible, attach full device walk: snmpwalk -v2c -c <community> -On <device> .1

           
          Im not sure about that. Its mentioned in the default configuration.

          https://github.com/freebsd/freebsd/blob/master/usr.sbin/bsnmpd/bsnmpd/snmpd.config

          .1.3.6.1.2.1.1.9.1.2.1 = OID: .1.3.6.1.4.1.12325.1.1.1.10.2
          .1.3.6.1.2.1.1.9.1.2.2 = OID: .1.3.6.1.4.1.12325.1.1.1.10.3
          .1.3.6.1.2.1.1.9.1.2.3 = OID: .1.3.6.1.6.3.1
          .1.3.6.1.2.1.1.9.1.2.4 = OID: .1.3.6.1.4.1.12325.1.1
          .1.3.6.1.2.1.1.9.1.2.5 = OID: .1.3.6.1.2.1.31
          .1.3.6.1.2.1.1.9.1.2.6 = OID: .1.3.6.1.2.1.48
          .1.3.6.1.2.1.1.9.1.2.7 = OID: .1.3.6.1.2.1.49
          .1.3.6.1.2.1.1.9.1.2.8 = OID: .1.3.6.1.2.1.50
          .1.3.6.1.2.1.1.9.1.2.9 = OID: .1.3.6.1.2.1.4.24
          .1.3.6.1.2.1.1.9.1.2.10 = OID: .1.3.6.1.2.1.25
          .1.3.6.1.2.1.1.9.1.2.11 = OID: .1.3.6.1.2.1.17
          .1.3.6.1.2.1.1.9.1.2.12 = OID: .1.3.6.1.4.1.2021

          ankerstal Peter Ankerstal added a comment -   Im not sure about that. Its mentioned in the default configuration. https://github.com/freebsd/freebsd/blob/master/usr.sbin/bsnmpd/bsnmpd/snmpd.config .1.3.6.1.2.1.1.9.1.2.1 = OID: .1.3.6.1.4.1.12325.1.1.1.10.2 .1.3.6.1.2.1.1.9.1.2.2 = OID: .1.3.6.1.4.1.12325.1.1.1.10.3 .1.3.6.1.2.1.1.9.1.2.3 = OID: .1.3.6.1.6.3.1 .1.3.6.1.2.1.1.9.1.2.4 = OID: .1.3.6.1.4.1.12325.1.1 .1.3.6.1.2.1.1.9.1.2.5 = OID: .1.3.6.1.2.1.31 .1.3.6.1.2.1.1.9.1.2.6 = OID: .1.3.6.1.2.1.48 .1.3.6.1.2.1.1.9.1.2.7 = OID: .1.3.6.1.2.1.49 .1.3.6.1.2.1.1.9.1.2.8 = OID: .1.3.6.1.2.1.50 .1.3.6.1.2.1.1.9.1.2.9 = OID: .1.3.6.1.2.1.4.24 .1.3.6.1.2.1.1.9.1.2.10 = OID: .1.3.6.1.2.1.25 .1.3.6.1.2.1.1.9.1.2.11 = OID: .1.3.6.1.2.1.17 .1.3.6.1.2.1.1.9.1.2.12 = OID: .1.3.6.1.4.1.2021

          Seems as very rare extension..

          Please show additional output for walk:

          snmpwalk -v2c -c <community> -On <device> .1.3.6.1.2.1.1.9.1.2
          

          landy Mike Stupalov added a comment - Seems as very rare extension.. Please show additional output for walk: snmpwalk -v2c -c <community> -On <device> .1.3.6.1.2.1.1.9.1.2

          I use the distribution provided bsnmpd. 

          bridge support can be enabled by uncommenting the following line in /etc/snmpd.config

          #begemotSnmpdModulePath."bridge" = "/usr/lib/snmp_bridge.so"

           

          ankerstal Peter Ankerstal added a comment - I use the distribution provided bsnmpd.  bridge support can be enabled by uncommenting the following line in /etc/snmpd.config #begemotSnmpdModulePath."bridge" = "/usr/lib/snmp_bridge.so"  

          I did not found no one FreeBSD device with this Oid support.. how enable it?

          landy Mike Stupalov added a comment - I did not found no one FreeBSD device with this Oid support.. how enable it?

          People

            landy Mike Stupalov
            ankerstal Peter Ankerstal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: