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

Very low bandwidth interfaces detected incorreclty

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • Professional Edition
    • Discovery, Poller
    • None

    Description

      found a fun bug that i assumed was snmp but is really observium. on Juniper, I inadvertantly set 'bandwidth 200' which is 200bps:

      show interfaces ae5.4000 | match ban 
          Bandwidth: 200bps

      snmpwalk confirms, 200bps:

      .1.3.6.1.2.1.2.2.1.5.693 = Gauge32: 200

      However, in Observium it says 200Mbps

      mysql> select ifSpeed from ports where port_id = 129729;
      -----------

      ifSpeed  

      -----------

      200000000

      -----------
      1 row in set (0.00 sec)

      Attachments

        Activity

          [OBS-4951] Very low bandwidth interfaces detected incorreclty

          Very low speed value, ifHighSpeed 0 considered as erroneous and takes old values.

          Fixed in r13804.

          landy Mike Stupalov added a comment - Very low speed value, ifHighSpeed 0 considered as erroneous and takes old values. Fixed in r13804.
          falz falz added a comment -

          A few other tests to confirm funnybusiness - it only seems to happen at this very low speed.

           

          Configured device interface  bandwidth to 2000 (2kbps) and it detects it properly:

          # show | compare 
          [edit interfaces ae5 unit 4000]
          - bandwidth 200;
          + bandwidth 2k;

          Observium Eventlog:
           ae5.4000 Interface changed: [ifSpeed] '200000000' -> '2000'

           

          Configured device interface bandwidth to 20000 (20kbps) and it's properly detected:

          # show | compare 
          [edit interfaces ae5 unit 4000]
          - bandwidth 2k;
          + bandwidth 20k;

          Observium Eventlog:

           ae5.4000 Interface changed: [ifSpeed] '2000' -> '20000'

           

          Set bandwidth back to 200bps and it goes back to 200Mbps:

          # show | compare 
          [edit interfaces ae5 unit 4000]
          - bandwidth 2k;
          + bandwidth 200;

          Observium Eventlog:

           ae5.4000 Interface changed: [ifSpeed] '20000' -> '200000000'

          falz falz added a comment - A few other tests to confirm funnybusiness - it only seems to happen at this very low speed.   Configured device interface  bandwidth to 2000 (2kbps) and it detects it properly: # show | compare  [edit interfaces ae5 unit 4000] - bandwidth 200; + bandwidth 2k; Observium Eventlog:  ae5.4000 Interface changed: [ifSpeed] '200000000' -> '2000'   Configured device interface bandwidth to 20000 (20kbps) and it's properly detected: # show | compare  [edit interfaces ae5 unit 4000] - bandwidth 2k; + bandwidth 20k; Observium Eventlog:  ae5.4000 Interface changed: [ifSpeed] '2000' -> '20000'   Set bandwidth back to 200bps and it goes back to 200Mbps: # show | compare  [edit interfaces ae5 unit 4000] - bandwidth 2k; + bandwidth 200; Observium Eventlog:  ae5.4000 Interface changed: [ifSpeed] '20000' -> '200000000'
          falz falz added a comment -

          Relevant bits of poller.php confirm 200bps:

           

          ifDescr.693 = ae5.4000
          ifType.693 = ieee8023adLag
          ifOperStatus.693 = up
          ifAdminStatus.693 = up
          ifAlias.693 = validation test 2024-12 :C(401463):
          ifName.693 = ae5.4000
          ifHighSpeed.693 = 0ifIndex 693 (ifAdminStatus = up, ifOperStatus = up). 
          CMD[/usr/bin/snmpget -v2c -c *** -Pud -OQUs -m IF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'r-uwmadison-isp.wiscnet.net':'161' ifInMulticastPkts.693 ifOutMulticastPkts.693 ifInBroadcastPkts.693 ifOutBroadcastPkts.693 ifHCInOctets.693 ifHCOutOctets.693 ifHCInUcastPkts.693 ifHCOutUcastPkts.693 ifHCInMulticastPkts.693 ifHCOutMulticastPkts.693 ifHCInBroadcastPkts.69 ifHCOutBroadcastPkts.693 ifInOctets.693 ifOutOctets.693 ifInUcastPkts.693 ifOutUcastPkts.693 ifInNUcastPkts.693 ifOutNUcastPkts.693 ifInDiscards.693 ifOutDiscards.693 ifInErrors.693 ifOutErrors.693 ifInUnknownProtos.693 ifMtu.693 ifSpeed.693 ifPhysAddress.693 ifLastChange.693 ifPromiscuousMode.693 ifConnectorPresent.693]CMD EXITCODE[0]
          CMD RUNTIME[0.012s]
          STDOUT[
          ifInMulticastPkts.693 = 0
          ifOutMulticastPkts.693 = 0
          ifInBroadcastPkts.693 = 0
          ifOutBroadcastPkts.693 = 0
          ifHCInOctets.693 = 0
          ifHCOutOctets.693 = 2477960
          ifHCInUcastPkts.693 = 0
          ifHCOutUcastPkts.693 = 25913
          ifHCInMulticastPkts.693 = 0
          ifHCOutMulticastPkts.693 = 0
          ifHCInBroadcastPkts.693 = 0
          ifHCOutBroadcastPkts.693 = 0
          ifInOctets.693 = 0
          ifOutOctets.693 = 2477960
          ifInUcastPkts.693 = 0
          ifOutUcastPkts.693 = 25913
          ifInNUcastPkts.693 = 0
          ifOutNUcastPkts.693 = 0
          ifInDiscards.693 = 0
          ifOutDiscards.693 = 0
          ifInErrors.693 = 0
          ifOutErrors.693 = 0
          ifInUnknownProtos.693 = 0
          ifMtu.693 = 9170
          ifSpeed.693 = 200
          ifPhysAddress.693 = 88:e6:4b:eb:a9:c5
          ifLastChange.693 = 119:12:31:21.16
          ifPromiscuousMode.693 = false
          ifConnectorPresent.693 = false
          ]
          SNMP STATUS[TRUE]

          falz falz added a comment - Relevant bits of poller.php confirm 200bps:   ifDescr.693 = ae5.4000 ifType.693 = ieee8023adLag ifOperStatus.693 = up ifAdminStatus.693 = up ifAlias.693 = validation test 2024-12 :C(401463): ifName.693 = ae5.4000 ifHighSpeed.693 = 0 ifIndex 693 (ifAdminStatus = up, ifOperStatus = up).  CMD [/usr/bin/snmpget -v2c -c *** -Pud -OQUs -m IF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'r-uwmadison-isp.wiscnet.net':'161' ifInMulticastPkts.693 ifOutMulticastPkts.693 ifInBroadcastPkts.693 ifOutBroadcastPkts.693 ifHCInOctets.693 ifHCOutOctets.693 ifHCInUcastPkts.693 ifHCOutUcastPkts.693 ifHCInMulticastPkts.693 ifHCOutMulticastPkts.693 ifHCInBroadcastPkts.69 ifHCOutBroadcastPkts.693 ifInOctets.693 ifOutOctets.693 ifInUcastPkts.693 ifOutUcastPkts.693 ifInNUcastPkts.693 ifOutNUcastPkts.693 ifInDiscards.693 ifOutDiscards.693 ifInErrors.693 ifOutErrors.693 ifInUnknownProtos.693 ifMtu.693 ifSpeed.693 ifPhysAddress.693 ifLastChange.693 ifPromiscuousMode.693 ifConnectorPresent.693] CMD EXITCODE [0] CMD RUNTIME [0.012s] STDOUT[ ifInMulticastPkts.693 = 0 ifOutMulticastPkts.693 = 0 ifInBroadcastPkts.693 = 0 ifOutBroadcastPkts.693 = 0 ifHCInOctets.693 = 0 ifHCOutOctets.693 = 2477960 ifHCInUcastPkts.693 = 0 ifHCOutUcastPkts.693 = 25913 ifHCInMulticastPkts.693 = 0 ifHCOutMulticastPkts.693 = 0 ifHCInBroadcastPkts.693 = 0 ifHCOutBroadcastPkts.693 = 0 ifInOctets.693 = 0 ifOutOctets.693 = 2477960 ifInUcastPkts.693 = 0 ifOutUcastPkts.693 = 25913 ifInNUcastPkts.693 = 0 ifOutNUcastPkts.693 = 0 ifInDiscards.693 = 0 ifOutDiscards.693 = 0 ifInErrors.693 = 0 ifOutErrors.693 = 0 ifInUnknownProtos.693 = 0 ifMtu.693 = 9170 ifSpeed.693 = 200 ifPhysAddress.693 = 88:e6:4b:eb:a9:c5 ifLastChange.693 = 119:12:31:21.16 ifPromiscuousMode.693 = false ifConnectorPresent.693 = false ] SNMP STATUS [TRUE]

          General questions and device support can be discussed in our Discord channel, click here to join.


          Please make and attach additional information about the device:

          • full snmp dump from device:

            snmpwalk -v2c -c <community> -t 3 -Cc --hexOutputLength=0 -Ih -ObentxU <hostname> .1 > myagent.snmpwalk
            snmpwalk -v2c -c <community> -t 3 -Cc --hexOutputLength=0 -Ih -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

          This comment is added automatically.

          bot Observium Bot added a comment - General questions and device support can be discussed in our Discord channel, click here to join . Please make and attach additional information about the device: full snmp dump from device: snmpwalk -v2c -c <community> -t 3 -Cc --hexOutputLength=0 -Ih -ObentxU <hostname> .1 > myagent.snmpwalk snmpwalk -v2c -c <community> -t 3 -Cc --hexOutputLength=0 -Ih -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 This comment is added automatically.

          People

            landy Mike Stupalov
            falz falz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: