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

D-Link switches improvement (inventorym, DDM, storage)

Details

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

    Description

      In this patch:

      • includes/definitions/mibs/d-link.inc.php
        • AGENT-GENERAL-MIB - added discovery for storage from agentFLASHutilizationTable
        • ACLMGMT-MIB - unused (commented) - move comments for ACLMGMT-MIB after MIB definition
        • DDM-MGMT-MIB - deactivate definitions added in OBS-3256 (can't parse Threshold in definition, moved to includes/discovery/sensors/ddm-mgmt-mib.inc.php)
      • includes/discovery/inventory/des3026-l2mgmt-mib.inc.php
        • DES3026-L2MGMT-MIB - inventory discovery with 2 slots
      • includes/discovery/inventory/des3018-l2mgmt-mib.inc.php
        • DES3018-L2MGMT-MIB - symlink to des3026-l2mgmt-mib.inc.php
      • includes/discovery/inventory/entity-mib.inc.php
        • improved inventory discovery by DGS3627G-L2MGMT-MIB and DGS3120-24SC-L2MGMT-MIB (like in OBS-3339)
      • includes/discovery/sensors/ddm-mgmt-mib.inc.php
        • DDM-MGMT-MIB - add discovery for DDM sensors with Threshold (like OBS-3725 / OBS-3706 )
        • tested on D-Link
          • DGS-3627G 1A1G (firmware 3.03.B04)
          • DES-3200-28/C1 (firmware 4.46.B008)
          • DGS-3120-24SC B1 (firmware 3.12.R510)
          • DES-3526 A4 (firmware 6.20.B20/B21/B30)
          • DES-3550 A4G (firmware 6.20.B20)

      Attachments

        Issue Links

          Activity

            [OBS-3762] D-Link switches improvement (inventorym, DDM, storage)

            Added in r11385, but please do not attach new to Closed issues (hard to track them).

            landy Mike Stupalov added a comment - Added in r11385, but please do not attach new to Closed issues (hard to track them).

            D-Link DGS-3620-28SC, DGS-3420-28SC, DGS-3420-28SC
            use the same structure in MIB, but oids in uniq tree.

            Improve inventory discovery for this models too.
            d-link-3420-3620-mib.patch

            mtivi Martyushev Tim added a comment - D-Link DGS-3620-28SC, DGS-3420-28SC, DGS-3420-28SC use the same structure in MIB, but oids in uniq tree. Improve inventory discovery for this models too. d-link-3420-3620-mib.patch

            In previous patch ( ddm-mgmt-mib-scale-A.patch ) there was a mistake.
            I mean

            $scale     = 0.001;

            not

            $scale     = 000.1;

            You already find this mistake.


            In first patch I use MIBs DGS3627G-L2MGMT-MIB and DGS3120-24SC-L2MGMT-MIB in includes/discovery/inventory/entity-mib.inc.php
            But in dlink-ddm.patch I forgot to include definition for this MIBs.

            Please add it: OBS-3762-d-link-2mibs-definition.patch

            mtivi Martyushev Tim added a comment - In previous patch ( ddm-mgmt-mib-scale-A.patch ) there was a mistake. I mean $scale = 0.001; not $scale = 000.1; You already find this mistake. In first patch I use MIBs DGS3627G-L2MGMT-MIB and DGS3120-24SC-L2MGMT-MIB in includes/discovery/inventory/entity-mib.inc.php But in dlink-ddm.patch I forgot to include definition for this MIBs. Please add it: OBS-3762-d-link-2mibs-definition.patch

            Added patch for fix scale in Tx Bias

            A -> mA

            ddm-mgmt-mib-scale-A.patch

            mtivi Martyushev Tim added a comment - Added patch for fix scale in Tx Bias A -> mA ddm-mgmt-mib-scale-A.patch

            Added in r11370.

            Please do not use symlinks, use include.

            landy Mike Stupalov added a comment - Added in r11370. Please do not use symlinks, use include.

            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.

            bot Observium Bot 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
              mtivi Martyushev Tim
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: