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

Port Sensors not correlated on IOS-XE

Details

    • Vendor Bug
    • Resolution: Fixed
    • Minor
    • None
    • Professional Edition
    • Discovery

    Description

      Sensors aren't linked to ports on IOS-XE devices. I'm guessing this is because of the way the physical entities are being reported by the device. On IOS the SFP is a child of the port container and the sensors children of the SFP. On IOS-XE the port is child of the transceiver along with the sensors. I attached some screen shots of of the inventory of two different devices that show this.

      Attachments

        1. ASR99K-sensors-debug.txt
          514 kB
        2. image-2017-11-30-20-25-33-874.png
          image-2017-11-30-20-25-33-874.png
          75 kB
        3. IOS.PNG
          IOS.PNG
          47 kB
        4. IOS-Port-Sensor.PNG
          IOS-Port-Sensor.PNG
          40 kB
        5. IOS-XE.PNG
          IOS-XE.PNG
          66 kB
        6. IOS-XE-Sensor.PNG
          IOS-XE-Sensor.PNG
          69 kB
        7. obs-2295-port-sensor-interface-mapping.txt
          110 kB
        8. r8964-ASR99K-sensors-debug.txt
          515 kB

        Activity

          [OBS-2295] Port Sensors not correlated on IOS-XE

          timcooper but you rediscovered sensors (after update)? (this is main condition)

          landy Mike Stupalov added a comment - timcooper but you rediscovered sensors (after update)? (this is main condition)
          timcooper Tim Cooper added a comment -

          Thanks for looking at this so quickly Mike!

          Updated to r8964 but no change:

          Let me know if any further debug outputs would be of help?

          Tim C

          timcooper Tim Cooper added a comment - Thanks for looking at this so quickly Mike! Updated to r8964 but no change: Let me know if any further debug outputs would be of help? Tim C

          timcooper pls, try with r8964 (not sure that this is correct fix).

          landy Mike Stupalov added a comment - timcooper pls, try with r8964 (not sure that this is correct fix).
          timcooper Tim Cooper added a comment -

          Seemed sensible to update this existing issue rather than create a new one? Seem to be seeing this same issue on the new 64-bit flavour of IOS-XR on an ASR99K.

          Sensors debug (./discovery.php -d -m sensors -h <device>) attached;

          ASR99K-sensors-debug.txt

          timcooper Tim Cooper added a comment - Seemed sensible to update this existing issue rather than create a new one? Seem to be seeing this same issue on the new 64-bit flavour of IOS-XR on an ASR99K. Sensors debug (./discovery.php -d -m sensors -h <device>) attached; ASR99K-sensors-debug.txt

          Fixed in r8938.

          landy Mike Stupalov added a comment - Fixed in r8938.
          ddenk Derek Denk added a comment -

          Added debug as requested and also two more screenshots that show the difference in how the sensors are presented on the main device page.

          ddenk Derek Denk added a comment - Added debug as requested and also two more screenshots that show the difference in how the sensors are presented on the main device page.
          ddenk Derek Denk added a comment -

          Let me try explaining better.... On the device status page for ios and iosxr devices there is a section that says "Port sensors" which shows the TX/RX/temperature readings for each SFP grouped by the devices ports. On iosxe devices this section is missing and the light levels are shown in the dBm section and the temperatures in the temperature section.

          It looks like this linking of sensors to ports is done with the sensors.measured_entity and sensors.measured_class attributes, which are set to null for our iosxe devices while on our ios and iosxr devices measured_class = port and measured_entity is set to a port_id .

          ddenk Derek Denk added a comment - Let me try explaining better.... On the device status page for ios and iosxr devices there is a section that says "Port sensors" which shows the TX/RX/temperature readings for each SFP grouped by the devices ports. On iosxe devices this section is missing and the light levels are shown in the dBm section and the temperatures in the temperature section. It looks like this linking of sensors to ports is done with the sensors.measured_entity and sensors.measured_class attributes, which are set to null for our iosxe devices while on our ios and iosxr devices measured_class = port and measured_entity is set to a port_id .

          Not sure, that I understand your question and trouble..

          Please attach debug output for:

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

          landy Mike Stupalov added a comment - Not sure, that I understand your question and trouble.. Please attach debug output for: ./discovery.php -d -m sensors -h <device>

          People

            landy Mike Stupalov
            ddenk Derek Denk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: