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

Wrong values for transceivers in Cisco 9500

Details

    • Vendor Bug
    • Resolution: Fixed
    • Trivial
    • None
    • Professional Edition
    • Poller
    • Cisco C9500-48Y4C, C9500-24Y4C, C9500-32C

    Description

      Obsevium are showing values for the transceivers incorrectly on Cisco Catalyst 9500.

      Correct values:
      Temp: 26.2c
      Volt: 3.30v
      Current: 17.9mA
      Transmit: -6.5dBm
      Receive: -23.1dBm

      Values from Observium is in my screenshot.

      This error makes my alerts on the transceivers pretty useless, looking forward for this being resolved.

      Attachments

        1. dr11_debug_discovery.txt
          1.26 MB
          Tommy Jonsson
        2. dr11_debug_poller.txt
          17 kB
          Tommy Jonsson
        3. interface_values_twe2-0-17.txt
          2 kB
          Tommy Jonsson
        4. interface_values.txt
          2 kB
          Tommy Jonsson
        5. transceiver-stats.png
          9 kB
          Tommy Jonsson

        Issue Links

          Activity

            [OBS-3026] Wrong values for transceivers in Cisco 9500

            Thanks!

            I'll send Cisco a bugreport to get this fixed, I will inform you if/when they correct the bug.

            bamsegrill Tommy Jonsson added a comment - Thanks! I'll send Cisco a bugreport to get this fixed, I will inform you if/when they correct the bug.

            Hrm, when I looked more intently, I think error not in entSensorPrecision but in entSensorValue.

            There seems as one character lost, ie current from console is 18.3, but entSensorValue.2213 = 18 (should be 183).

            landy Mike Stupalov added a comment - Hrm, when I looked more intently, I think error not in entSensorPrecision but in entSensorValue . There seems as one character lost, ie current from console is 18.3, but entSensorValue.2213 = 18 (should be 183).

            I added workaround in r9922.
            (Device rediscovery required).

            Please inform us if Cisco corrects this error.

            landy Mike Stupalov added a comment - I added workaround in r9922. (Device rediscovery required). Please inform us if Cisco corrects this error.

            Ok, I see error (in snmp output), see example for port twe2/0/17:

            CISCO-ENTITY-SENSOR-MIB::entSensorType.2211 = celsius
            CISCO-ENTITY-SENSOR-MIB::entSensorType.2212 = voltsDC
            CISCO-ENTITY-SENSOR-MIB::entSensorType.2213 = amperes
            CISCO-ENTITY-SENSOR-MIB::entSensorType.2214 = dBm
            CISCO-ENTITY-SENSOR-MIB::entSensorType.2215 = dBm
            CISCO-ENTITY-SENSOR-MIB::entSensorScale.2211 = units
            CISCO-ENTITY-SENSOR-MIB::entSensorScale.2212 = units
            CISCO-ENTITY-SENSOR-MIB::entSensorScale.2213 = milli
            CISCO-ENTITY-SENSOR-MIB::entSensorScale.2214 = units
            CISCO-ENTITY-SENSOR-MIB::entSensorScale.2215 = units
            CISCO-ENTITY-SENSOR-MIB::entSensorPrecision.2211 = 1
            CISCO-ENTITY-SENSOR-MIB::entSensorPrecision.2212 = 1
            CISCO-ENTITY-SENSOR-MIB::entSensorPrecision.2213 = 1
            CISCO-ENTITY-SENSOR-MIB::entSensorPrecision.2214 = 1
            CISCO-ENTITY-SENSOR-MIB::entSensorPrecision.2215 = 1
            CISCO-ENTITY-SENSOR-MIB::entSensorValue.2211 = 25
            CISCO-ENTITY-SENSOR-MIB::entSensorValue.2212 = 3
            CISCO-ENTITY-SENSOR-MIB::entSensorValue.2213 = 18
            CISCO-ENTITY-SENSOR-MIB::entSensorValue.2214 = -6
            CISCO-ENTITY-SENSOR-MIB::entSensorValue.2215 = -23
            

            Here for example temperature sensor reports:

            • entSensorValue = 25
            • entSensorScale = units (in MIB description this equals to scale = 1)
            • entSensorPrecision = 1 (this value produce incorrect result scale)

            MIB description for entSensorPrecision:
            https://mibs.observium.org/mib/CISCO-ENTITY-SENSOR-MIB/#entSensorValue

            This variable indicates the number of decimal
            places of precision in fixed-point
            sensor values reported by entSensorValue.
            

            For your case, entSensorPrecision must be 0, but device report it as 1.

            As I see you use latest firmware version 16.11.1, you need write to Cisco TAC about this trouble.

            landy Mike Stupalov added a comment - Ok, I see error (in snmp output), see example for port twe2/0/17: CISCO-ENTITY-SENSOR-MIB::entSensorType.2211 = celsius CISCO-ENTITY-SENSOR-MIB::entSensorType.2212 = voltsDC CISCO-ENTITY-SENSOR-MIB::entSensorType.2213 = amperes CISCO-ENTITY-SENSOR-MIB::entSensorType.2214 = dBm CISCO-ENTITY-SENSOR-MIB::entSensorType.2215 = dBm CISCO-ENTITY-SENSOR-MIB::entSensorScale.2211 = units CISCO-ENTITY-SENSOR-MIB::entSensorScale.2212 = units CISCO-ENTITY-SENSOR-MIB::entSensorScale.2213 = milli CISCO-ENTITY-SENSOR-MIB::entSensorScale.2214 = units CISCO-ENTITY-SENSOR-MIB::entSensorScale.2215 = units CISCO-ENTITY-SENSOR-MIB::entSensorPrecision.2211 = 1 CISCO-ENTITY-SENSOR-MIB::entSensorPrecision.2212 = 1 CISCO-ENTITY-SENSOR-MIB::entSensorPrecision.2213 = 1 CISCO-ENTITY-SENSOR-MIB::entSensorPrecision.2214 = 1 CISCO-ENTITY-SENSOR-MIB::entSensorPrecision.2215 = 1 CISCO-ENTITY-SENSOR-MIB::entSensorValue.2211 = 25 CISCO-ENTITY-SENSOR-MIB::entSensorValue.2212 = 3 CISCO-ENTITY-SENSOR-MIB::entSensorValue.2213 = 18 CISCO-ENTITY-SENSOR-MIB::entSensorValue.2214 = -6 CISCO-ENTITY-SENSOR-MIB::entSensorValue.2215 = -23 Here for example temperature sensor reports: entSensorValue = 25 entSensorScale = units (in MIB description this equals to scale = 1) entSensorPrecision = 1 (this value produce incorrect result scale) MIB description for entSensorPrecision: https://mibs.observium.org/mib/CISCO-ENTITY-SENSOR-MIB/#entSensorValue This variable indicates the number of decimal places of precision in fixed-point sensor values reported by entSensorValue. For your case, entSensorPrecision must be 0 , but device report it as 1. As I see you use latest firmware version 16.11.1, you need write to Cisco TAC about this trouble.

            Allright, I've attached the files, the wrong values are for all transceivers, not just the one that I posted.

            bamsegrill Tommy Jonsson added a comment - Allright, I've attached the files, the wrong values are for all transceivers, not just the one that I posted.

            And pls show real values for sample interface from device console:

            sh interfaces <interface> transceiver detail

            landy Mike Stupalov added a comment - And pls show real values for sample interface from device console: sh interfaces <interface> transceiver detail

            Yah, as most often it is for certain an error in a firmware (ios).

            Please attach debug for:

            ./discovery.php -d -m sensors -h <device>
            ./poller.php -r -d -m os -h <device>
            

            landy Mike Stupalov added a comment - Yah, as most often it is for certain an error in a firmware (ios). Please attach debug for: ./discovery.php -d -m sensors -h <device> ./poller.php -r -d -m os -h <device>

            People

              landy Mike Stupalov
              bamsegrill Tommy Jonsson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: