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

VLANs & DDM - TP-Link T2600G-28TS 4.0

Details

    • Add New Device / OS
    • Resolution: Fixed
    • Minor
    • None
    • Community Edition
    • OS

    Description

      Hello,

      Can you please add support for VLANs, QinQ & DDM (& whatever you also find interesting in the MIBs ) from TP-Link T2600G-28TS 4.0?

      Latest MIBs:
      https://static.tp-link.com/2019/201909/20190925/T2600G-28TS(UN)_v4_MIB_20190530.zip

      Thank you

      Attachments

        Activity

          [OBS-3755] VLANs & DDM - TP-Link T2600G-28TS 4.0

          Tnx, done in r11345.

          landy Mike Stupalov added a comment - Tnx, done in r11345.

          "data ready" is false even though the SFP works -> probably not 100% compatible with the switch

          #sh ddm status
          Temperature(C) Voltage(V) Bias Current(mA) Tx Power(mW) Rx Power(mW) Data Ready Rx Los Tx Fault
          Gi1/0/25 – -- – -- – -- – --
          Gi1/0/26 – -- – -- – -- – --
          Gi1/0/27 – -- – -- – -- – --
          Gi1/0/28 40.777344 3.315500 24.254000 0.204600 0.035900 False False False

          eu Radu Anghel added a comment - "data ready" is false even though the SFP works -> probably not 100% compatible with the switch #sh ddm status Temperature(C) Voltage(V) Bias Current(mA) Tx Power(mW) Rx Power(mW) Data Ready Rx Los Tx Fault Gi1/0/25 – -- – -- – -- – -- Gi1/0/26 – -- – -- – -- – -- Gi1/0/27 – -- – -- – -- – -- Gi1/0/28 40.777344 3.315500 24.254000 0.204600 0.035900 False False False

          Please show DDM information from device (via cli or web config) for device in snmp dump. I need to compare received information with real data (seems not correct scale currently).

          landy Mike Stupalov added a comment - Please show DDM information from device (via cli or web config) for device in snmp dump. I need to compare received information with real data (seems not correct scale currently).

          snmpbulkwalk -v2c -c *** -m TPLINK-DDMMANAGE-MIB:TPLINK-DDMCONFIG-MIB:TPLINK-DDMTEMPTHRESHOLD-MIB:TPLINK-DDMVOLTHRESHOLD-MIB:TPLINK-DDMBIASCURTHRESHOLD-MIB:TPLINK-DDMTXPOWTHRESHOLD-MIB:TPLINK-DDMRXPOWTHRESHOLD-MIB:TPLINK-DDMSTATUS-MIB <hostname> tplinkMgmt.96 | grep 99355
          TPLINK-DDMCONFIG-MIB::ddmConfigPort.99355 = STRING: 1/0/27
          TPLINK-DDMCONFIG-MIB::ddmConfigStatus.99355 = INTEGER: enable(1)
          TPLINK-DDMCONFIG-MIB::ddmConfigShutdown.99355 = INTEGER: none(0)
          TPLINK-DDMCONFIG-MIB::ddmConfigPortLAG.99355 = STRING: "N/A"
          TPLINK-DDMTEMPTHRESHOLD-MIB::ddmTempThresholdPort.99355 = STRING: 1/0/27
          TPLINK-DDMTEMPTHRESHOLD-MIB::ddmTempThresholdHighAlarm.99355 = STRING: "N/A"
          TPLINK-DDMTEMPTHRESHOLD-MIB::ddmTempThresholdLowAlarm.99355 = STRING: "N/A"
          TPLINK-DDMTEMPTHRESHOLD-MIB::ddmTempThresholdHighWarn.99355 = STRING: "N/A"
          TPLINK-DDMTEMPTHRESHOLD-MIB::ddmTempThresholdLowWarn.99355 = STRING: "N/A"
          TPLINK-DDMTEMPTHRESHOLD-MIB::ddmTempThresholdPortLAG.99355 = STRING: "N/A"
          TPLINK-DDMVOLTHRESHOLD-MIB::ddmVolThresholdPort.99355 = STRING: 1/0/27
          TPLINK-DDMVOLTHRESHOLD-MIB::ddmVolThresholdHighAlarm.99355 = STRING: "N/A"
          TPLINK-DDMVOLTHRESHOLD-MIB::ddmVolThresholdLowAlarm.99355 = STRING: "N/A"
          TPLINK-DDMVOLTHRESHOLD-MIB::ddmVolThresholdHighWarn.99355 = STRING: "N/A"
          TPLINK-DDMVOLTHRESHOLD-MIB::ddmVolThresholdLowWarn.99355 = STRING: "N/A"
          TPLINK-DDMVOLTHRESHOLD-MIB::ddmVolThresholdPortLAG.99355 = STRING: "N/A"
          TPLINK-DDMBIASCURTHRESHOLD-MIB::ddmBiasCurThresholdPort.99355 = STRING: 1/0/27
          TPLINK-DDMBIASCURTHRESHOLD-MIB::ddmBiasCurThresholdHighAlarm.99355 = STRING: "N/A"
          TPLINK-DDMBIASCURTHRESHOLD-MIB::ddmBiasCurThresholdLowAlarm.99355 = STRING: "N/A"
          TPLINK-DDMBIASCURTHRESHOLD-MIB::ddmBiasCurThresholdHighWarn.99355 = STRING: "N/A"
          TPLINK-DDMBIASCURTHRESHOLD-MIB::ddmBiasCurThresholdLowWarn.99355 = STRING: "N/A"
          TPLINK-DDMBIASCURTHRESHOLD-MIB::ddmBiasCurThresholdPortLAG.99355 = STRING: "N/A"
          TPLINK-DDMTXPOWTHRESHOLD-MIB::ddmTxPowThresholdPort.99355 = STRING: 1/0/27
          TPLINK-DDMTXPOWTHRESHOLD-MIB::ddmTxPowThresholdHighAlarm.99355 = STRING: "N/A"
          TPLINK-DDMTXPOWTHRESHOLD-MIB::ddmTxPowThresholdLowAlarm.99355 = STRING: "N/A"
          TPLINK-DDMTXPOWTHRESHOLD-MIB::ddmTxPowThresholdHighWarn.99355 = STRING: "N/A"
          TPLINK-DDMTXPOWTHRESHOLD-MIB::ddmTxPowThresholdLowWarn.99355 = STRING: "N/A"
          TPLINK-DDMTXPOWTHRESHOLD-MIB::ddmTxPowThresholdPortLAG.99355 = STRING: "N/A"
          TPLINK-DDMRXPOWTHRESHOLD-MIB::ddmRxPowThresholdPort.99355 = STRING: 1/0/27
          TPLINK-DDMRXPOWTHRESHOLD-MIB::ddmRxPowThresholdHighAlarm.99355 = STRING: "N/A"
          TPLINK-DDMRXPOWTHRESHOLD-MIB::ddmRxPowThresholdLowAlarm.99355 = STRING: "N/A"
          TPLINK-DDMRXPOWTHRESHOLD-MIB::ddmRxPowThresholdHighWarn.99355 = STRING: "N/A"
          TPLINK-DDMRXPOWTHRESHOLD-MIB::ddmRxPowThresholdLowWarn.99355 = STRING: "N/A"
          TPLINK-DDMRXPOWTHRESHOLD-MIB::ddmRxPowThresholdPortLAG.99355 = STRING: "N/A"
          TPLINK-DDMSTATUS-MIB::ddmStatusPort.99355 = STRING: 1/0/27
          TPLINK-DDMSTATUS-MIB::ddmStatusTemperature.99355 = STRING: N/A
          TPLINK-DDMSTATUS-MIB::ddmStatusVoltage.99355 = STRING: N/A
          TPLINK-DDMSTATUS-MIB::ddmStatusBiasCurrent.99355 = STRING: N/A
          TPLINK-DDMSTATUS-MIB::ddmStatusTxPow.99355 = STRING: N/A
          TPLINK-DDMSTATUS-MIB::ddmStatusRxPow.99355 = STRING: N/A
          TPLINK-DDMSTATUS-MIB::ddmStatusDataReady.99355 = STRING: N/A
          TPLINK-DDMSTATUS-MIB::ddmStatusLossSignal.99355 = STRING: N/A
          TPLINK-DDMSTATUS-MIB::ddmStatusTxFault.99355 = STRING: N/A

          I have access to some TP-Link switches, but I haven't any with modules that support DDM.
          I think Tp-Link choose very strange way to get DDM data via SNMP.

          mtivi Martyushev Tim added a comment - snmpbulkwalk -v2c -c *** -m TPLINK-DDMMANAGE-MIB:TPLINK-DDMCONFIG-MIB:TPLINK-DDMTEMPTHRESHOLD-MIB:TPLINK-DDMVOLTHRESHOLD-MIB:TPLINK-DDMBIASCURTHRESHOLD-MIB:TPLINK-DDMTXPOWTHRESHOLD-MIB:TPLINK-DDMRXPOWTHRESHOLD-MIB:TPLINK-DDMSTATUS-MIB <hostname> tplinkMgmt.96 | grep 99355 TPLINK-DDMCONFIG-MIB::ddmConfigPort.99355 = STRING: 1/0/27 TPLINK-DDMCONFIG-MIB::ddmConfigStatus.99355 = INTEGER: enable(1) TPLINK-DDMCONFIG-MIB::ddmConfigShutdown.99355 = INTEGER: none(0) TPLINK-DDMCONFIG-MIB::ddmConfigPortLAG.99355 = STRING: "N/A" TPLINK-DDMTEMPTHRESHOLD-MIB::ddmTempThresholdPort.99355 = STRING: 1/0/27 TPLINK-DDMTEMPTHRESHOLD-MIB::ddmTempThresholdHighAlarm.99355 = STRING: "N/A" TPLINK-DDMTEMPTHRESHOLD-MIB::ddmTempThresholdLowAlarm.99355 = STRING: "N/A" TPLINK-DDMTEMPTHRESHOLD-MIB::ddmTempThresholdHighWarn.99355 = STRING: "N/A" TPLINK-DDMTEMPTHRESHOLD-MIB::ddmTempThresholdLowWarn.99355 = STRING: "N/A" TPLINK-DDMTEMPTHRESHOLD-MIB::ddmTempThresholdPortLAG.99355 = STRING: "N/A" TPLINK-DDMVOLTHRESHOLD-MIB::ddmVolThresholdPort.99355 = STRING: 1/0/27 TPLINK-DDMVOLTHRESHOLD-MIB::ddmVolThresholdHighAlarm.99355 = STRING: "N/A" TPLINK-DDMVOLTHRESHOLD-MIB::ddmVolThresholdLowAlarm.99355 = STRING: "N/A" TPLINK-DDMVOLTHRESHOLD-MIB::ddmVolThresholdHighWarn.99355 = STRING: "N/A" TPLINK-DDMVOLTHRESHOLD-MIB::ddmVolThresholdLowWarn.99355 = STRING: "N/A" TPLINK-DDMVOLTHRESHOLD-MIB::ddmVolThresholdPortLAG.99355 = STRING: "N/A" TPLINK-DDMBIASCURTHRESHOLD-MIB::ddmBiasCurThresholdPort.99355 = STRING: 1/0/27 TPLINK-DDMBIASCURTHRESHOLD-MIB::ddmBiasCurThresholdHighAlarm.99355 = STRING: "N/A" TPLINK-DDMBIASCURTHRESHOLD-MIB::ddmBiasCurThresholdLowAlarm.99355 = STRING: "N/A" TPLINK-DDMBIASCURTHRESHOLD-MIB::ddmBiasCurThresholdHighWarn.99355 = STRING: "N/A" TPLINK-DDMBIASCURTHRESHOLD-MIB::ddmBiasCurThresholdLowWarn.99355 = STRING: "N/A" TPLINK-DDMBIASCURTHRESHOLD-MIB::ddmBiasCurThresholdPortLAG.99355 = STRING: "N/A" TPLINK-DDMTXPOWTHRESHOLD-MIB::ddmTxPowThresholdPort.99355 = STRING: 1/0/27 TPLINK-DDMTXPOWTHRESHOLD-MIB::ddmTxPowThresholdHighAlarm.99355 = STRING: "N/A" TPLINK-DDMTXPOWTHRESHOLD-MIB::ddmTxPowThresholdLowAlarm.99355 = STRING: "N/A" TPLINK-DDMTXPOWTHRESHOLD-MIB::ddmTxPowThresholdHighWarn.99355 = STRING: "N/A" TPLINK-DDMTXPOWTHRESHOLD-MIB::ddmTxPowThresholdLowWarn.99355 = STRING: "N/A" TPLINK-DDMTXPOWTHRESHOLD-MIB::ddmTxPowThresholdPortLAG.99355 = STRING: "N/A" TPLINK-DDMRXPOWTHRESHOLD-MIB::ddmRxPowThresholdPort.99355 = STRING: 1/0/27 TPLINK-DDMRXPOWTHRESHOLD-MIB::ddmRxPowThresholdHighAlarm.99355 = STRING: "N/A" TPLINK-DDMRXPOWTHRESHOLD-MIB::ddmRxPowThresholdLowAlarm.99355 = STRING: "N/A" TPLINK-DDMRXPOWTHRESHOLD-MIB::ddmRxPowThresholdHighWarn.99355 = STRING: "N/A" TPLINK-DDMRXPOWTHRESHOLD-MIB::ddmRxPowThresholdLowWarn.99355 = STRING: "N/A" TPLINK-DDMRXPOWTHRESHOLD-MIB::ddmRxPowThresholdPortLAG.99355 = STRING: "N/A" TPLINK-DDMSTATUS-MIB::ddmStatusPort.99355 = STRING: 1/0/27 TPLINK-DDMSTATUS-MIB::ddmStatusTemperature.99355 = STRING: N/A TPLINK-DDMSTATUS-MIB::ddmStatusVoltage.99355 = STRING: N/A TPLINK-DDMSTATUS-MIB::ddmStatusBiasCurrent.99355 = STRING: N/A TPLINK-DDMSTATUS-MIB::ddmStatusTxPow.99355 = STRING: N/A TPLINK-DDMSTATUS-MIB::ddmStatusRxPow.99355 = STRING: N/A TPLINK-DDMSTATUS-MIB::ddmStatusDataReady.99355 = STRING: N/A TPLINK-DDMSTATUS-MIB::ddmStatusLossSignal.99355 = STRING: N/A TPLINK-DDMSTATUS-MIB::ddmStatusTxFault.99355 = STRING: N/A I have access to some TP-Link switches, but I haven't any with modules that support DDM. I think Tp-Link choose very strange way to get DDM data via SNMP.

          sorry about that, previous snmpwalk was not complete, attaching new one

          needed -Cc to snmpwalk because it stopped with "Error: OID not increasing"

          DDM info is around .1.3.6.1.4.1.11863.6.96.1.7.1.1.5.49180

          eu Radu Anghel added a comment - sorry about that, previous snmpwalk was not complete, attaching new one needed -Cc to snmpwalk because it stopped with "Error: OID not increasing" DDM info is around .1.3.6.1.4.1.11863.6.96.1.7.1.1.5.49180

          Support added in r11343.

          Note, there is no data in your snmpdump with DDM information.

          landy Mike Stupalov added a comment - Support added in r11343. Note, there is no data in your snmpdump with DDM information.
          mtivi Martyushev Tim added a comment - - edited

          TP-Link website doesn't allow to download MIBs via link on description for me, but MIB can be downloaded from here
          https://www.tp-link.com/ru/support/download/t2600g-28ts/#MIBs_Files

          add patch with :

          • definition of TPLINK-SYSINFO-MIB
            • discover version from tpSysInfoSwVersion.0
            • discover hardware from tpSysInfoHwVersion.0
            • discover serial from tpSysInfoSerialNum.0
          • definition of TPLINK-SYSMONITOR-MIB
            • discover processor from tpSysMonitorCpuTable -> tpSysMonitorCpu5Minutes (need test on stack)
            • try discover mempool from tpSysMonitorMemoryTable -> tpSysMonitorMemoryUtilizations (disabled)
              • MIB have only % for memory utilization
            • discover temperature sensor from tpSysMonitorTemperature
            • discover voltage sensor from tpSysMonitorVoltage

          [^tp-link-switch.patch]


          P.S.
          tested on hardware "T2600G-28TS-DC 1.0" with version "1.0.0 Build 20200514 Rel.40674(Beta)"

          mtivi Martyushev Tim added a comment - - edited TP-Link website doesn't allow to download MIBs via link on description for me, but MIB can be downloaded from here https://www.tp-link.com/ru/support/download/t2600g-28ts/#MIBs_Files add patch with : definition of TPLINK-SYSINFO-MIB discover version from tpSysInfoSwVersion.0 discover hardware from tpSysInfoHwVersion.0 discover serial from tpSysInfoSerialNum.0 definition of TPLINK-SYSMONITOR-MIB discover processor from tpSysMonitorCpuTable -> tpSysMonitorCpu5Minutes (need test on stack) try discover mempool from tpSysMonitorMemoryTable -> tpSysMonitorMemoryUtilizations (disabled) MIB have only % for memory utilization discover temperature sensor from tpSysMonitorTemperature discover voltage sensor from tpSysMonitorVoltage [^tp-link-switch.patch] P.S. tested on hardware "T2600G-28TS-DC 1.0" with version "1.0.0 Build 20200514 Rel.40674(Beta)"

          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
            eu Radu Anghel
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: