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

Discovery on M1000E Chassis From DELL

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • None
    • CE-22.5
    • Discovery
    • None

    Description

      Discoverying a M1000E chassis from dell yelds the following error:

       

       o OS Type              drac
       o SNMP Version         v2c
       o Last discovery       0000-00-00 00:00:00
       o Last duration        0.85 seconds

              1.  Module Start: os  #####

      -------------------------------------------------------------------------------------------------------------+

      OID                                                                                                          

      -------------------------------------------------------------------------------------------------------------+

      sysDescr     This system component provides a complete set of remote management functions for modular servers
      sysObjectID .1.3.6.1.4.1.674.10892.2                                                                        

      -------------------------------------------------------------------------------------------------------------+

       o Detect OS matched (drac: Dell iDRAC): 
      ------------------------------------------------------------

      OID         Matched definition                                

      ------------------------------------------------------------

      sysObjectID .1.3.6.1.4.1.674.10892. .1.3.6.1.4.1.674.10892.2

      ------------------------------------------------------------

       o Duration             0.091s

              1.  Module Start: mibs  #####

       o MIBs discovered      TCP-MIB UDP-MIB 
      -------------------------------------------------------------------+

      Identity               MIB                 Source   Status              

      -------------------------------------------------------------------+

      .1.3.6.1.6.3.1         SNMPv2-MIB         sysORID MIB already defined
      .1.3.6.1.2.1.4         IP-MIB             sysORID MIB already defined
      .1.3.6.1.2.1.49       TCP-MIB             sysORID MIB added          
      .1.3.6.1.2.1.50       UDP-MIB             sysORID MIB added          
      .1.3.6.1.6.3.10.3.1.1 SNMP-FRAMEWORK-MIB sysORID MIB already defined
      .1.3.6.1.6.3.16.2.2.1
      •                  
      sysORID Unknown Identity    
      .1.3.6.1.6.3.11.3.1.1
      •                  
      sysORID Unknown Identity    
      .1.3.6.1.6.3.15.2.1.1
      •                  
      sysORID Unknown Identity    

      -------------------------------------------------------------------+

       o Duration             0.2342s

              1.  Module Start: vrf  #####

       o Duration             0.0023s

              1.  Module Start: ports  #####

       o Caching OIDs         ifDescr ifAlias ifName ifType ifOperStatus 
       o Caching DB           2 ports
       o Discovering ports    ..
      ---------------------------------------------------------------

      ifIndex ifDescr ifName ifAlias ifType           Oper Status Ignored

      ---------------------------------------------------------------

      1       lo       lo     ...     softwareLoopback up           no      
      3       eth0     eth0   ...     ethernetCsmacd   up           no      

      ---------------------------------------------------------------

       o Duration             0.2106s

              1.  Module Start: ports-stack  #####

       

       o Duration             0.1413s

              1.  Module Start: vlans  #####

       o Q-BRIDGE-MIB         

       o Duration             0.046s

              1.  Module Start: oids  #####

       o Duration             0.0015s

              1.  Module Start: ip-addresses  #####

       o IP-MIB               ..
       o IPV6-MIB             
       o LLDP-MIB             
      --------------------------------------------------------------------

      ifIndex ifDescr IP: Version Address         Network       Type     Origin

      --------------------------------------------------------------------

      3       eth0     IPv4         10.161.5.25/26 10.161.5.0/26 private          
      1       lo       IPv4         127.0.0.1/8     127.0.0.0/8   loopback        

      --------------------------------------------------------------------

       o Changes              2 unchanged
       o Duration             0.3928s

              1.  Module Start: processors  #####

       o UCD-SNMP-MIB         
       o HOST-RESOURCES-MIB   

       o Duration             0.0661s

              1.  Module Start: mempools  #####

       o UCD-SNMP-MIB         
       o HOST-RESOURCES-MIB   

       o Duration             0.0648s

              1.  Module Start: inventory  #####

       o ENTITY-MIB           ENTITY-MIB 
       o HOST-RESOURCES-MIB   
       o DELL-RAC-MIB         
          ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
      ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⡶⠋⠁⠙⣦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
      ⠀⣠⡶⠛⠛⠲⣤⣀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⠀⣠⠄⣠⣾⣡⠀⠀⠀⠀⠸⡆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
      ⢰⡏⠀⠀⠀⠀⠈⣿⣷⣤⡐⣄⣽⡾⠧⠤⠤⣤⣤⣾⣿⣾⣿⣯⣀⡀⠀⠀⠀⢠⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
      ⠀⢷⡀⠀⠀⠀⠀⣿⣿⣿⣿⣿⣯⣤⣤⡀⣠⣈⣹⣽⣿⣿⣿⣿⣷⣦⣄⠀⢀⡾⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
      ⠀⠈⠻⣆⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡟⠀⣠⠞⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
      ⠀⠀⠀⠈⢳⣆⠘⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧⣾⣷⣶⣤⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
      ⠀⠀⠀⠀⠀⣘⣿⣿⣿⣿⣿⣟⣿⣿⣿⣿⣿⣿⣿⣿⢡⡼⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
      ⠀⠀⠀⠀⣾⣿⣿⣿⣿⣿⡏⣯⡇⣿⣿⣿⡏⣿⣿⣿⣜⣛⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡷⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
      ⠀⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣭⣾⣿⣿⣿⣇⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠃⠀⠘⢷⣄⠀⠀⠀⠀⠀⠀⠀⠀
      ⠀⠀⠀⢠⣿⣿⡏⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡏⢿⣿⣿⡿⠁⠀⠀⠀⠸⣿⣷⡀⠀⠀⠀⠀⠀⠀
      ⠀⠀⠀⢸⣿⣿⡇⠈⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠻⣿⣿⡟⢠⣿⣿⡟⠁⠀⠀⠀⠀⠙⣻⣿⣿⣆⠀⠀⠀⠀⠀
      ⠀⠀⠀⠈⣿⣿⣷⡈⠛⠿⣿⣿⡆⠻⢿⣿⣽⣿⣯⣿⠿⠃⠀⠻⠛⣰⣿⣿⠏⠀⠀⠀⠀⢀⣙⣿⣿⣿⣿⣿⣧⡀⠀⠀⠀
      ⠀⠀⠀⠀⢿⠈⠙⠻⠷⠤⠄⢉⡁⠀⠀⠙⢉⣵⣌⠀⠀⠀⣀⠄⠘⠛⠋⠁⢀⣀⣤⣤⣭⣭⣽⣿⣿⣿⣿⣿⣿⣷⡀⠀⠀
      ⠀⠀⠀⢀⣿⡄⠀⠀⠀⠀⠀⠀⠉⠓⢦⣄⡉⠉⢉⣩⠶⠋⠁⠀⠀⠀⣠⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⡀⠀
      ⠀⠀⠀⣼⣿⣿⣷⣶⣶⣆⣀⡀⠀⠀⠀⠀⠉⠉⠉⠀⠀⠀⠀⠀⣠⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧⠀
      ⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣥⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⣸⣦⣾⣿⣿⣿⣿⣿⣿⡿⠿⠿⡟⠿⣿⣟⡿⢿⡛⠀⣘⣿⣿⡆
      ⠀⠀⠀⢿⣿⣿⠿⠿⠿⠿⢿⣿⣿⣷⣿⡆⠀⠀⣶⣶⣾⡿⠛⠛⠛⠛⠻⣿⣿⣿⡟⠉⠀⠀⠀⠈⠁⠁⢀⢀⠲⣬⣿⣿⡇
      ⠀⠀⠀⠘⡏⠳⣤⡄⠀⡄⠀⠀⠈⠙⢿⣧⠀⢀⣿⣿⠏⠀⠀⠀⠀⢀⣠⣿⣿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠈⣯⣷⣿⣿⣿⡇
      ⠀⠀⠀⠀⢿⠀⠀⠉⠳⣇⠀⠀⠀⠀⠀⢻⠀⢸⣿⣿⣆⢠⠀⡆⣰⡿⠟⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡾⣿⣿⣿⣿⣿⡇
      ⠀⠀⠀⠀⠘⣧⠀⠀⠀⠹⣷⣤⣄⠀⡈⣾⡆⢸⡿⠋⠿⠾⠴⠷⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⠞⠉⣶⣾⣿⣿⣿⣿⠀
      ⠀⠀⠀⠀⠀⠈⠳⣄⠀⠀⠀⠉⠻⣿⣿⣿⣇⠸⡷⠀⠀⠀⢀⣠⢄⣠⣶⣤⣤⣤⡤⠤⠖⠛⠉⠀⠠⣤⣼⣿⣿⣿⣿⡏⠀
      ⠀⠀⠀⠀⠀⠀⠀⠉⢻⣷⠶⠒⠀⠀⠁⠈⢿⡄⣷⣆⣤⣶⡿⠛⠛⠛⠉⠉⠉⠁⠀⠀⠀⠀⠀⠀⠀⠈⢿⣿⣿⣿⣿⠇⠀
      ⠀⠀⠀⠀⠀⠀⠀⠀⠘⣏⠀⠀⠀⠀⠀⠀⠘⣧⣿⣿⡿⢋⡤⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠰⣾⣿⣿⣿⣿⠀⠀
      ⠀⠀⠀⠀⠀⠀⠀⠀⠀⢻⡄⠀⠀⠀⠀⠀⠀⢸⣿⣿⣶⣫⠆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡀⢦⣵⣿⣿⣿⣿⠇⠀⠀
      ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢻⣆⠀⠀⠀⠀⠀⠀⣿⣿⣿⠇⠀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠳⠦⣴⣿⣶⣿⣿⣿⣿⡿⠀⠀⠀
      ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠛⢷⣄⠀⠀⠀⠀⢹⣿⣿⣾⣿⣋⣤⡄⠀⠀⠀⠀⠀⠀⠀⠠⣈⠻⣿⣿⣿⣿⣿⡇⠀⠀⠀
      ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠛⣦⣤⣤⣾⣿⣿⣿⣿⣿⣯⡴⠂⣀⡀⠀⡀⡀⡀⢠⣬⣻⣿⣿⣿⣿⡿⠀⠀⠀⠀
      ⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⣀⣀⣠⡴⠊⠉⠀⠈⢹⠿⣿⣿⣿⣿⣿⣷⣾⣿⠾⡿⡿⠿⣷⣦⣿⣿⣿⣿⣿⡟⠁⠀⠀⠀⠀
      ⠀⠀⠀⠀⠀⠀⠀⠛⠷⠦⠤⠤⠴⠶⠶⠶⠶⠚⠉⠀⠀⠈⣉⣩⠽⠟⠋⠁⠀⠀⣁⣠⠿⠛⠋⠉⠉⠉⠁⠀⠀⠀⠀⠀⠀
      ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠉⠉⠉⠉⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
      Oops! Something went wrong! You may want to report this to the Observium developers.

      Undefined constant "drsServerSlotName" in /opt/observium/includes/discovery/inventory/dell-rac-mib.inc.php:44

      Stack trace:

      #0: (unknown function) called at [/opt/observium/includes/discovery/inventory/dell-rac-mib.inc.php:44]
      39: continue;
      40: }
      41: $index += 2;
      42: 
      43: // Full height blades take up two slots and are marked as Extension
      44: if (!strstr($entry[drsServerSlotName], "Extension")) {
      45: $serial            = $entry['drsServerServiceTag'];
      46: $inventory[$index] = [
      47: 'entPhysicalName'         => 'Slot ' . $entry['drsServerSlotNumber'],
      48: 'entPhysicalClass'        => 'container',
      49: 'entPhysicalIsFRU'        => 'true',

      #1: include called at [/opt/observium/includes/include-dir-mib.inc.php:32]
      27: 
      28: if (is_file($inc_file)) {
      29: print_cli_data_field("$mib ");
      30: 
      31: $inc_start  = microtime(TRUE); // MIB timing start
      32: $inc_status = include($inc_file);
      33: echo(PHP_EOL);
      34: 
      35: if ($include_lib && is_file($inc_dir . '.lib.php')) {
      36: // separated functions include, for exclude fatal redeclare errors
      37: include_once($inc_dir . '.lib.php');

      #2: include called at [/opt/observium/includes/discovery/inventory.inc.php:17]
      12: 
      13: $valid['inventory'] = [];
      14: 
      15: $include_dir = "includes/discovery/inventory";
      16: $include_order = 'default'; // Use MIBs from default os definitions by first!
      17: include($config['install_dir'] . "/includes/include-dir-mib.inc.php");
      18: 
      19: if (is_module_enabled($device, 'unix-agent', 'poller')) {
      20: 
      21: print_cli_heading("UNIX Agent");
      22: 

      #3: include called at [/opt/observium/includes/discovery/functions.inc.php:870]
      865: $GLOBALS['module_stats'][$module] = [];
      866: $valid[$module]                   = [];
      867: 
      868: print_cli_heading("Module Start: %R" . $module);
      869: 
      870: include("includes/discovery/$module.inc.php");
      871: 
      872: $m_end                                    = utime();
      873: $GLOBALS['module_stats'][$module]['time'] = round($m_end - $m_start, 4);
      874: print_module_stats($device, $module);
      875: echo(PHP_EOL);

      #4: discover_device called at [/opt/observium/discovery.php:216]
      211: 
      212: foreach (dbFetchRows("SELECT * FROM `devices` WHERE `disabled` = 0 $where ORDER BY `last_discovered_timetaken` ASC", $params) as $device) {
      213: // Additional check if device SNMPable, because during
      214: // discovery many devices (long time), the some device can be switched off
      215: if ($options['h'] === 'new' || is_snmpable($device))

      { 216: discover_device($device, $options); 217: }

      else

      { 218: $string = "Device '" . $device['hostname'] . "' skipped, because switched off during runtime discovery process."; 219: print_debug($string); 220: logfile($argv[0] . ": $string"); 221: }

      [root@monitor observium]

      Attachments

        Activity

          People

            landy Mike Stupalov
            fcardoso Francisco Cardoso
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: