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

Ekinops sensors

    XMLWordPrintable

Details

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

    Description

      attached includes/definitions/mibs/ekinops.inc.php
       

      Problems:
      1) oids "pm10010mpMesrlineNetRxInputPwrPortn" and "pm10010mpMesrlineNetTxLaserOutputPwrPortn" in MIB EKINOPS-Pm10010mp-MIB:

      SYNTAX  INTEGER (0..65535)

      but really it is "Signed word (16 bits)", so need to recalculate it:

      B.2.3.8 Line Transceiver Rx Input Power
      A listing of the table:
      pm10010mpMesrlineNetRxInputPwrTable,
      Location:...\ekinops\modulePm10010mp\pm10010mpmeasures\pm10010mpMesrLine\

      Returns the object: pm10010mpMesrlineNetRxInputPwrPortn for each line port in the module.

      This article gives the Rx Input Power value of the Line Transceiver, read from the DDM (Digital Diagnostic Monitoring) (Unit = dBm).

      The actual Rx input power in dBm can be obtained by applying the following formula to the returned value:

      If AV<32768
      Tx_Pwr(dBm) = AV/100
      If AV>=32768
      Tx_Pwr(dBm) = (AV-65536)/100

      Parameter Meaning Format
      AV Article Value Signed word (16 bits)

      For example:
      A value returned from the Line Transceiver in Port 0 of 64551.
      So applying the formula: Rx_Pwr(dBm) = (64551-65536)/100
      Gives an actual value of: -9.8dBm

       

      2) oids "pm10010mpMesrclientNetTxPwrPortn" and "pm10010mpMesrclientNetRxPwrPortn" in MIB EKINOPS-Pm10010mp-MIB:
      Power = 10*log(AV)-40) (Unit = dBm)
      I don't know how to convert it.

      3) I don't know how to group it via ports (IfIndex is not correlates to this index)

      snmpwalk -v2c -c *** ekinops.mtik.pro EKINOPS-Pm10010mp-MIB::pm10010mpCfgLabellinePortn
      EKINOPS-Pm10010mp-MIB::pm10010mpCfgLabellinePortn.0 = STRING: LINE-COMMENTsnmpwalk -v2c -c *** ekinops.mtik.pro EKINOPS-Pm10010mp-MIB::pm10010mpCfgLabelclientPortn
      EKINOPS-Pm10010mp-MIB::pm10010mpCfgLabelclientPortn.0 = STRING: PORT_Number 1   
      EKINOPS-Pm10010mp-MIB::pm10010mpCfgLabelclientPortn.1 = STRING: PORT_Number 2   
      EKINOPS-Pm10010mp-MIB::pm10010mpCfgLabelclientPortn.2 = STRING: PORT_Number 3   
      EKINOPS-Pm10010mp-MIB::pm10010mpCfgLabelclientPortn.3 = STRING: PORT_Number 4   
      EKINOPS-Pm10010mp-MIB::pm10010mpCfgLabelclientPortn.4 = STRING: PORT_Number 5   
      EKINOPS-Pm10010mp-MIB::pm10010mpCfgLabelclientPortn.5 = STRING: PORT_Number 6   
      EKINOPS-Pm10010mp-MIB::pm10010mpCfgLabelclientPortn.6 = STRING: PORT_Number 7   
      EKINOPS-Pm10010mp-MIB::pm10010mpCfgLabelclientPortn.7 = STRING: PORT_Number 8   
      EKINOPS-Pm10010mp-MIB::pm10010mpCfgLabelclientPortn.8 = STRING: PORT_Number 9   
      EKINOPS-Pm10010mp-MIB::pm10010mpCfgLabelclientPortn.9 = STRING: PORT_Number 10  
      snmpwalk -v2c -c *** ekinops.mtik.pro ifName
      IF-MIB::ifName.1 = STRING: EKINOPS/C200HC/1/PM_10010MP/S1-Client1(PORT_Number 1   )
      IF-MIB::ifName.2 = STRING: EKINOPS/C200HC/1/PM_10010MP/S2-Client2(PORT_Number 2   )
      IF-MIB::ifName.3 = STRING: EKINOPS/C200HC/1/PM_10010MP/S3-Client3(PORT_Number 3   )
      IF-MIB::ifName.4 = STRING: EKINOPS/C200HC/1/PM_10010MP/S4-Client4(PORT_Number 4   )
      IF-MIB::ifName.5 = STRING: EKINOPS/C200HC/1/PM_10010MP/S5-Client5(PORT_Number 5   )
      IF-MIB::ifName.6 = STRING: EKINOPS/C200HC/1/PM_10010MP/S6-Client6(PORT_Number 6   )
      IF-MIB::ifName.7 = STRING: EKINOPS/C200HC/1/PM_10010MP/S7-Client7(PORT_Number 7   )
      IF-MIB::ifName.8 = STRING: EKINOPS/C200HC/1/PM_10010MP/S8-Client8(PORT_Number 8   )
      IF-MIB::ifName.9 = STRING: EKINOPS/C200HC/1/PM_10010MP/S9-Client9(PORT_Number 9   )
      IF-MIB::ifName.10 = STRING: EKINOPS/C200HC/1/PM_10010MP/S10-Client10(PORT_Number 10  )
      IF-MIB::ifName.11 = STRING: EKINOPS/C200HC/1/PM_10010MP/Line(LINE-COMMENT)
      IF-MIB::ifName.12 = STRING: EKINOPS/C200HC/4/PM_10010MP/S1-Client1(PORT_Number 1   )
      IF-MIB::ifName.13 = STRING: EKINOPS/C200HC/4/PM_10010MP/S2-Client2(PORT_Number 2   )
      IF-MIB::ifName.14 = STRING: EKINOPS/C200HC/4/PM_10010MP/S3-Client3(PORT_Number 3   )
      IF-MIB::ifName.15 = STRING: EKINOPS/C200HC/4/PM_10010MP/S4-Client4(PORT_Number 4   )
      IF-MIB::ifName.16 = STRING: EKINOPS/C200HC/4/PM_10010MP/S5-Client5(PORT_Number 5   )
      IF-MIB::ifName.17 = STRING: EKINOPS/C200HC/4/PM_10010MP/S6-Client6(PORT_Number 6   )
      IF-MIB::ifName.18 = STRING: EKINOPS/C200HC/4/PM_10010MP/S7-Client7(PORT_Number 7   )
      IF-MIB::ifName.19 = STRING: EKINOPS/C200HC/4/PM_10010MP/S8-Client8(PORT_Number 8   )
      IF-MIB::ifName.20 = STRING: EKINOPS/C200HC/4/PM_10010MP/S9-Client9(PORT_Number 9   )
      IF-MIB::ifName.21 = STRING: EKINOPS/C200HC/4/PM_10010MP/S10-Client10(PORT_Number 10  )
      IF-MIB::ifName.22 = STRING: EKINOPS/C200HC/4/PM_10010MP/Line(LINE2-COMMENT)

      Attachments

        1. discovery-debug.log
          64 kB
        2. ekinops.inc.php
          8 kB
        3. ekinops-sensors1.png
          ekinops-sensors1.png
          98 kB
        4. ekinops-sensors2.png
          ekinops-sensors2.png
          113 kB

        Issue Links

          Activity

            People

              landy Mike Stupalov
              mtivi Martyushev Tim
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: