Details

    • Vendor Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • Default
    • None

    Description

      I have several Huawei switches, including models S2326, S2328, and S2320-28. I’ve observed that some of them experience SNMP polling issues unless the “sensors” module is disabled. Disabling this module improves stability during SNMP monitoring.

       

      Upon further investigation, I found that the S2320-28 switches, running firmware versions V200R011C10SPC600 and V200R019C10SPC500, operate without any issues. However, the S2326 and S2328 models are running version V100R006C05 with patches SPH031 and SPH038. Some of these switches only respond properly to SNMP when the “sensors” module is turned off.

       

      Initially, I suspected a problem with the SFP modules. But I noticed that for all affected devices, the SFP module’s serial number is shown as “1” and this same value is applied to all ports in the “Inventory” tab. Moreover, there are no threshold values (alarm or warning) for RX and TX power levels.

       

      I’ve attached SNMP dumps from an S2328 switch that has polling issues and from an S2326 switch that works correctly with the “sensors” module enabled.

      Attachments

        1. 23453.png
          23453.png
          118 kB
        2. S2326.snmpwalk
          1.15 MB
        3. s2326discovery
          242 kB
        4. s2326opller
          360 kB
        5. S2328.snmpwalk
          1.04 MB
        6. S2328discovery
          11 kB
        7. S2328poller
          378 kB

        Activity

          [OBS-5026] huawei s2326/s2328 ddm

          Mainly as you describe issue - it's exactly vendor firmware troubles.
          Not sure what we should check for this..

          What I see in your debugs:

          • S2328: discovery debug incomplete (snmp timeout)
          • S2328: poller debug many snmp timeouts, ie ( this errors related with DOM sensors):

            CMD[/usr/bin/snmpget -t '2' -v2c -c *** -Pud -Ir -OQUsn -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'192.168.242.70':'161' .1.3.6.1.4.1.2011.5.25.31.1.1.1.1.11.67108873 .1.3.6.1.4.1.2011.5.25.31.1.1.1.1.13.67108873 .1.3.6.1.4.1.2011.5.25.31.1.1.3.1.5.67240078 .1.3.6.1.4.1.2011.5.25.31.1.1.3.1.5.67240142 .1.3.6.1.4.1.2011.5.25.31.1.1.3.1.5.67240206 .1.3.6.1.4.1.2011.5.25.31.1.1.3.1.6.67240078 .1.3.6.1.4.1.2011.5.25.31.1.1.3.1.6.67240142 .1.3.6.1.4.1.2011.5.25.31.1.1.3.1.6.67240206 .1.3.6.1.4.1.2011.5.25.31.1.1.3.1.7.67240078 .1.3.6.1.4.1.2011.5.25.31.1.1.3.1.7.67240142 .1.3.6.1.4.1.2011.5.25.31.1.1.3.1.7.67240206 .1.3.6.1.4.1.2011.5.25.31.1.1.3.1.8.67240078 .1.3.6.1.4.1.2011.5.25.31.1.1.3.1.8.67240142 .1.3.6.1.4.1.2011.5.25.31.1.1.3.1.8.67240206 .1.3.6.1.4.1.2011.5.25.31.1.1.3.1.9.67240078 .1.3.6.1.4.1.2011.5.25.31.1.1.3.1.9.67240142]
             
            CMD RUNTIME[12.0435s]
            STDERR[
            Timeout: No Response from udp:192.168.242.70:161.
            ]
            

          CMD[/usr/bin/snmpget -t '2' -v2c -c *** -Pud -Ir -OQUsn -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'192.168.242.70':'161' .1.3.6.1.4.1.2011.5.25.31.1.1.3.1.9.67240206]
           
          CMD RUNTIME[12.0438s]
          STDERR[
          Timeout: No Response from udp:192.168.242.70:161.
          ]
          

          • S2326 discovery debug, this serial reported by device and no other information reported:

            CMD[/usr/bin/snmpbulkwalk -t '2' -v2c -c *** -Pud -Ir -OQUs -m HUAWEI-ENTITY-EXTENT-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/huawei 'udp':'10
            .90.93.22':'161' hwEntityOpticalVendorSn]
             
            STDOUT[
            hwEntityOpticalVendorSn.67223630 = 1
            hwEntityOpticalVendorSn.67223694 = 1
            hwEntityOpticalVendorSn.67223758 = 1
            hwEntityOpticalVendorSn.67223822 = 1
            hwEntityOpticalVendorSn.67223886 = 1
            hwEntityOpticalVendorSn.67223950 = 1
            hwEntityOpticalVendorSn.67224014 = 1
            hwEntityOpticalVendorSn.67224078 = 1
            hwEntityOpticalVendorSn.67224142 = 1
            hwEntityOpticalVendorSn.67224206 = 1
            hwEntityOpticalVendorSn.67224270 = 1
            hwEntityOpticalVendorSn.67224334 = 1
            hwEntityOpticalVendorSn.67224398 = 1
            hwEntityOpticalVendorSn.67224462 = 1
            hwEntityOpticalVendorSn.67224526 = 1
            hwEntityOpticalVendorSn.67224590 = 1
            hwEntityOpticalVendorSn.67224654 = 1
            hwEntityOpticalVendorSn.67224718 = 1
            hwEntityOpticalVendorSn.67224782 = 1
            hwEntityOpticalVendorSn.67224846 = 1
            hwEntityOpticalVendorSn.67224910 = 1
            hwEntityOpticalVendorSn.67224974 = 1
            hwEntityOpticalVendorSn.67225038 = 1
            hwEntityOpticalVendorSn.67225102 = 1
            hwEntityOpticalVendorSn.67240014 = 1
            hwEntityOpticalVendorSn.67240078 = 1
            ]
             
            CMD[/usr/bin/snmpbulkwalk -t '2' -v2c -c *** -Pud -Ir -OQUs -m HUAWEI-ENTITY-EXTENT-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/huawei 'udp':'10.90.93.22':'161' hwEntityOpticalType]
             
            STDOUT[
            hwEntityOpticalType = No Such Object available on this agent at this OID
            ]
             
            CMD[/usr/bin/snmpbulkwalk -t '2' -v2c -c *** -Pud -Ir -OQUs -m HUAWEI-ENTITY-EXTENT-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/huawei 'udp':'10.90.93.22':'161' hwEntityOpticalVenderName]
             
            STDOUT[
            hwEntityOpticalVenderName = No Such Object available on this agent at this OID
            ]
             
            CMD[/usr/bin/snmpbulkwalk -t '2' -v2c -c *** -Pud -Ir -OQUs -m HUAWEI-ENTITY-EXTENT-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/huawei 'udp':'10.90.93.22':'161' hwEntityOpticalVenderPn]
             
            STDOUT[
            hwEntityOpticalVenderPn = No Such Object available on this agent at this OID
            ]
             
            CMD[/usr/bin/snmpbulkwalk -t '2' -v2c -c *** -Pud -Ir -OQUs -m HUAWEI-ENTITY-EXTENT-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/huawei 'udp':'10.90.93.22':'161' hwEntityOpticalTransType]
             
            STDOUT[
            hwEntityOpticalTransType = No Such Object available on this agent at this OID
            ]
            

          • S2326 poller debug: there sensors polled correctly without timeouts
          • Attached SNMPdumps or incomplete or not same as in poller/discovery debug, because without inventory information and without DOM sensors.

          I do not know what best option for you in this case, but main is update firmwares or write to Vendor support about snmp issues.
          Discovery and poller correctly collect information provided by device.

          landy Mike Stupalov added a comment - Mainly as you describe issue - it's exactly vendor firmware troubles. Not sure what we should check for this.. What I see in your debugs: S2328: discovery debug incomplete (snmp timeout) S2328: poller debug many snmp timeouts, ie ( this errors related with DOM sensors): CMD[/usr/bin/snmpget -t '2' -v2c -c *** -Pud -Ir -OQUsn -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'192.168.242.70':'161' .1.3.6.1.4.1.2011.5.25.31.1.1.1.1.11.67108873 .1.3.6.1.4.1.2011.5.25.31.1.1.1.1.13.67108873 .1.3.6.1.4.1.2011.5.25.31.1.1.3.1.5.67240078 .1.3.6.1.4.1.2011.5.25.31.1.1.3.1.5.67240142 .1.3.6.1.4.1.2011.5.25.31.1.1.3.1.5.67240206 .1.3.6.1.4.1.2011.5.25.31.1.1.3.1.6.67240078 .1.3.6.1.4.1.2011.5.25.31.1.1.3.1.6.67240142 .1.3.6.1.4.1.2011.5.25.31.1.1.3.1.6.67240206 .1.3.6.1.4.1.2011.5.25.31.1.1.3.1.7.67240078 .1.3.6.1.4.1.2011.5.25.31.1.1.3.1.7.67240142 .1.3.6.1.4.1.2011.5.25.31.1.1.3.1.7.67240206 .1.3.6.1.4.1.2011.5.25.31.1.1.3.1.8.67240078 .1.3.6.1.4.1.2011.5.25.31.1.1.3.1.8.67240142 .1.3.6.1.4.1.2011.5.25.31.1.1.3.1.8.67240206 .1.3.6.1.4.1.2011.5.25.31.1.1.3.1.9.67240078 .1.3.6.1.4.1.2011.5.25.31.1.1.3.1.9.67240142]   CMD RUNTIME[12.0435s] STDERR[ Timeout: No Response from udp:192.168.242.70:161. ] CMD[/usr/bin/snmpget -t '2' -v2c -c *** -Pud -Ir -OQUsn -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'192.168.242.70':'161' .1.3.6.1.4.1.2011.5.25.31.1.1.3.1.9.67240206]   CMD RUNTIME[12.0438s] STDERR[ Timeout: No Response from udp:192.168.242.70:161. ] S2326 discovery debug, this serial reported by device and no other information reported: CMD[/usr/bin/snmpbulkwalk -t '2' -v2c -c *** -Pud -Ir -OQUs -m HUAWEI-ENTITY-EXTENT-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/huawei 'udp':'10 .90.93.22':'161' hwEntityOpticalVendorSn]   STDOUT[ hwEntityOpticalVendorSn.67223630 = 1 hwEntityOpticalVendorSn.67223694 = 1 hwEntityOpticalVendorSn.67223758 = 1 hwEntityOpticalVendorSn.67223822 = 1 hwEntityOpticalVendorSn.67223886 = 1 hwEntityOpticalVendorSn.67223950 = 1 hwEntityOpticalVendorSn.67224014 = 1 hwEntityOpticalVendorSn.67224078 = 1 hwEntityOpticalVendorSn.67224142 = 1 hwEntityOpticalVendorSn.67224206 = 1 hwEntityOpticalVendorSn.67224270 = 1 hwEntityOpticalVendorSn.67224334 = 1 hwEntityOpticalVendorSn.67224398 = 1 hwEntityOpticalVendorSn.67224462 = 1 hwEntityOpticalVendorSn.67224526 = 1 hwEntityOpticalVendorSn.67224590 = 1 hwEntityOpticalVendorSn.67224654 = 1 hwEntityOpticalVendorSn.67224718 = 1 hwEntityOpticalVendorSn.67224782 = 1 hwEntityOpticalVendorSn.67224846 = 1 hwEntityOpticalVendorSn.67224910 = 1 hwEntityOpticalVendorSn.67224974 = 1 hwEntityOpticalVendorSn.67225038 = 1 hwEntityOpticalVendorSn.67225102 = 1 hwEntityOpticalVendorSn.67240014 = 1 hwEntityOpticalVendorSn.67240078 = 1 ]   CMD[/usr/bin/snmpbulkwalk -t '2' -v2c -c *** -Pud -Ir -OQUs -m HUAWEI-ENTITY-EXTENT-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/huawei 'udp':'10.90.93.22':'161' hwEntityOpticalType]   STDOUT[ hwEntityOpticalType = No Such Object available on this agent at this OID ]   CMD[/usr/bin/snmpbulkwalk -t '2' -v2c -c *** -Pud -Ir -OQUs -m HUAWEI-ENTITY-EXTENT-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/huawei 'udp':'10.90.93.22':'161' hwEntityOpticalVenderName]   STDOUT[ hwEntityOpticalVenderName = No Such Object available on this agent at this OID ]   CMD[/usr/bin/snmpbulkwalk -t '2' -v2c -c *** -Pud -Ir -OQUs -m HUAWEI-ENTITY-EXTENT-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/huawei 'udp':'10.90.93.22':'161' hwEntityOpticalVenderPn]   STDOUT[ hwEntityOpticalVenderPn = No Such Object available on this agent at this OID ]   CMD[/usr/bin/snmpbulkwalk -t '2' -v2c -c *** -Pud -Ir -OQUs -m HUAWEI-ENTITY-EXTENT-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/huawei 'udp':'10.90.93.22':'161' hwEntityOpticalTransType]   STDOUT[ hwEntityOpticalTransType = No Such Object available on this agent at this OID ] S2326 poller debug: there sensors polled correctly without timeouts Attached SNMPdumps or incomplete or not same as in poller/discovery debug, because without inventory information and without DOM sensors. I do not know what best option for you in this case, but main is update firmwares or write to Vendor support about snmp issues. Discovery and poller correctly collect information provided by device.

          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
            uriby Yuri
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: