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

Ports polling issue for Huawei NE20 routers

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • None
    • Professional Edition
    • Discovery, Poller
    • CENTOS 64 Bit

    Description

      Hi Adam/Team.

      I recently upgraded to SVN revision 9233 and saw there are some Huawei related improvements in the SVN log. 

      For the basic AR routers all still works great, but since the update, Observium can't pull any information about ports from NE20 higher-end devices. All existing ports have been deleted and the ports page is now blank on those devices.

      I've looked a the discovery and poller debug output, but it seems that Observium is not getting a response anymore as per the discovery module output below.

      Prior to upgrade this had been fine for years.

      Any ideas on how to resolve this? Happy to provide logs/testing and whatever else would assist.

      ##### Module Start: ports ##### o Caching OIDs ifDescr CMD[/usr/bin/snmpbulkwalk -Cr100 -t '3' -r '5' -v2c -c *** -Pu -OQUs -m IF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'fc_transit1_thn':'161' ifDescr]
       
      CMD EXITCODE[1]
       
      CMD RUNTIME[18.027s]
       
      STDOUT[]
      STDERR
      [Timeout: No Response from udp:fc_transit1_thn:161]SNMP STATUS[FALSE]SNMP ERROR[#1002 - Request timeout]
      

      Attachments

        Activity

          [OBS-2673] Ports polling issue for Huawei NE20 routers

          Should be fixed now in r9238.

          Pls try it (without device specific option for max-repetition).

          landy Mike Stupalov added a comment - Should be fixed now in r9238. Pls try it (without device specific option for max-repetition).

          at 30, tnx.

          landy Mike Stupalov added a comment - at 30, tnx.

          No problem. Do you want that with max-rep back at 100 or at 30?

           

          Thanks for your help

          Dan.

          dd1245 Dan Kennedy added a comment - No problem. Do you want that with max-rep back at 100 or at 30?   Thanks for your help Dan.

          dd1245 Please still attach debug for poller:

          ./poller.php -d -m ports -h <your_device>
          

          I want to see additional info about polling your device.

          landy Mike Stupalov added a comment - dd1245 Please still attach debug for poller: ./poller.php -d -m ports -h <your_device> I want to see additional info about polling your device.

          I presume this is in the os.inc.php as below? Can this be changed in this next build to 30 or will I need to change each NE device?

           

          $os = "vrp";
          $config['os'][$os]['text'] = "Huawei VRP";
          $config['os'][$os]['group'] = "huawei";
          $config['os'][$os]['type'] = "network";
          $config['os'][$os]['remote_access'] = array('telnet', 'ssh');
          $config['os'][$os]['snmp']['max-rep'] = 30;

          dd1245 Dan Kennedy added a comment - I presume this is in the os.inc.php as below? Can this be changed in this next build to 30 or will I need to change each NE device?   $os = "vrp"; $config ['os'] [$os] ['text'] = "Huawei VRP"; $config ['os'] [$os] ['group'] = "huawei"; $config ['os'] [$os] ['type'] = "network"; $config ['os'] [$os] ['remote_access'] = array('telnet', 'ssh'); $config ['os'] [$os] ['snmp'] ['max-rep'] = 30;

          I set the max-repetitions in the device config page to 30, and discovery and polling is ok now.

          Can this be changed globally to 30 somewhere?

          dd1245 Dan Kennedy added a comment - I set the max-repetitions in the device config page to 30, and discovery and polling is ok now. Can this be changed globally to 30 somewhere?

          Anything over Cr30 seems to time out.

           

          Dan.

          dd1245 Dan Kennedy added a comment - Anything over Cr30 seems to time out.   Dan.

          I get results without Cr, with 80 or 50 just a timeout.

           

          dd1245 Dan Kennedy added a comment - I get results without Cr, with 80 or 50 just a timeout.  

          And at last point, please attach debug output for poller:

          ./poller.php -d -m ports -h <your_device>
          

          landy Mike Stupalov added a comment - And at last point, please attach debug output for poller: ./poller.php -d -m ports -h <your_device>

          Additionally, please try same command with -Cr80, -Cr50 and without -Cr:

          snmpbulkwalk -Cr80 -t '3' -r '5' -v2c -c *** -m IF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'fc_transit1_thn':'161' ifDescr
          snmpbulkwalk -Cr50 -t '3' -r '5' -v2c -c *** -m IF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'fc_transit1_thn':'161' ifDescr
          snmpbulkwalk -t '3' -r '5' -v2c -c *** -m IF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'fc_transit1_thn':'161' ifDescr
          

          landy Mike Stupalov added a comment - Additionally, please try same command with -Cr80 , -Cr50 and without -Cr : snmpbulkwalk -Cr80 -t '3' -r '5' -v2c -c *** -m IF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'fc_transit1_thn':'161' ifDescr snmpbulkwalk -Cr50 -t '3' -r '5' -v2c -c *** -m IF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'fc_transit1_thn':'161' ifDescr snmpbulkwalk -t '3' -r '5' -v2c -c *** -m IF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'fc_transit1_thn':'161' ifDescr

          People

            landy Mike Stupalov
            dd1245 Dan Kennedy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: