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

        Activity

          [OBS-3283] Datadomain Spare disks skipped

          Thanks, added in r10343.

          landy Mike Stupalov added a comment - Thanks, added in r10343.

          I also added filesystem definition in the patch to display the Filesystem/Datamanagement Data:

           

          FloMeyer Florian Meyer added a comment - I also added filesystem definition in the patch to display the Filesystem/Datamanagement Data:  

          Hi Mike,

           

          i attached a patch and also the snmpwalk until it timed out..

          FloMeyer Florian Meyer added a comment - Hi Mike,   i attached a patch and also the snmpwalk until it timed out..

          Please make and attach additional information about the device:

          • full snmp dump from device:

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

          Note, this comment is added automatically.

          landy Mike Stupalov added a comment - Please make and attach additional information about the device: full snmp dump from device: snmpwalk -v2c -c <community> --hexOutputLength=0 -ObentxU <hostname> .1 > myagent.snmpwalk snmpwalk -v2c -c <community> --hexOutputLength=0 -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 Note, this comment is added automatically.

          People

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

            Dates

              Created:
              Updated:
              Resolved: