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

Datadomain Spare disks skipped

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Trivial
    • None
    • Professional Edition
    • Discovery
    • None

    Description

       Spare-Disks got skipped due to "unknown" state "spare".

      I would say disks reserved as spare are ok.

       

      /opt/observium/includes/entities/status.inc.php:409
      array(
      [status_id] => string(5) "12306"
      [status_deleted] => string(1) "0"
      [device_id] => string(4) "2118"
      [poller_type] => string(4) "snmp"
      [status_oid] => string(35) ".1.3.6.1.4.1.19746.1.6.1.1.1.8.4.56"
      [status_mib] => string(15) "DATA-DOMAIN-MIB"
      [status_object] => string(13) "diskPropState"
      [status_index] => string(4) "4.56"
      [status_type] => string(26) "data-domain-mib-disk-state"
      [status_descr] => string(47) "Enclosure:4 - Disk 56: HITACHI H0S726T4CLAR4000"
      [entPhysicalIndex] => null
      [entPhysicalClass] => string(7) "storage"
      [entPhysicalIndex_measured] => null
      [measured_class] => null
      [measured_entity] => null
      [status_ignore] => string(1) "0"
      [status_disable] => string(1) "0"
      [status_value] => string(1) "1"
      [status_polled] => string(10) "1585334939"
      [status_last_change] => string(10) "1585314544"
      [status_event] => string(2) "ok"
      [status_map] => null
      [status_name] => string(2) "Ok"
      )

      /opt/observium/includes/entities/status.inc.php:425
      array()
      .Skipped by unknown state value: spare, Enclosure:4 - Disk 57: HITACHI H0S726T4CLAR4000
      Discover status: [device: sn00019626, oid: .1.3.6.1.4.1.19746.1.6.1.1.1.8.4.58, index: 4.58, type: data-domain-mib-disk-state, descr: Enclosure:4 - Disk 58: HITACHI H0S726T4CLAR4000, CURRENT: 1, , storage]

      Attachments

        1. datadomain_new.patch
          3 kB
          Florian Meyer
        2. datadomain.snmpwalk
          2.98 MB
          Florian Meyer
        3. image-2020-03-30-16-37-37-242.png
          67 kB
          Florian Meyer
        4. image-2020-03-30-16-38-03-979.png
          43 kB
          Florian Meyer

        Activity

          People

            landy Mike Stupalov
            FloMeyer Florian Meyer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: