Details

    • Bug
    • Resolution: Fixed
    • Minor
    • None
    • Professional Edition
    • Poller

    Description

      From IOS-XE devices sensor value for "RX Low Alarm" and "Rx High Alarm" are not written into the sql database.

      Example for pulling RX/RX threshold of a sensor:

      # snmpwalk -v 2c -c <community> lns-5 .1.3.6.1.4.1.9.9.91.1.2.1.1.4.3147
      iso.3.6.1.4.1.9.9.91.1.2.1.1.4.3147.1 = INTEGER: 0
      iso.3.6.1.4.1.9.9.91.1.2.1.1.4.3147.2 = INTEGER: -10
      iso.3.6.1.4.1.9.9.91.1.2.1.1.4.3147.3 = INTEGER: -110
      iso.3.6.1.4.1.9.9.91.1.2.1.1.4.3147.4 = INTEGER: -130
      

      SQL Database does not contain ".1" and ".4" values:

      {
      	"table": "sensors",
      	"rows":
      	[
      		{
      			"sensor_id": 20594,
      			"sensor_deleted": 0,
      			"sensor_class": "dbm",
      			"device_id": 810,
      			"poller_type": "snmp",
      			"sensor_oid": ".1.3.6.1.4.1.9.9.91.1.1.1.1.4.3147",
      			"sensor_mib": null,
      			"sensor_object": null,
      			"sensor_index": "3147",
      			"sensor_type": "cisco-entity-sensor",
      			"sensor_descr": "subslot 2/0 transceiver 4 Rx Power",
      			"sensor_unit": null,
      			"sensor_multiplier": 0.1,
      			"sensor_limit": null,
      			"sensor_limit_warn": -1,
      			"sensor_limit_low": null,
      			"sensor_limit_low_warn": -11,
      			"sensor_custom_limit": 0,
      			"entPhysicalIndex_measured": "11",
      			"measured_class": "port",
      			"measured_entity": "48086",
      			"entPhysicalIndex": "3147",
      			"entPhysicalClass": null,
      			"sensor_ignore": 0,
      			"sensor_disable": 0,
      			"sensor_value": -2.70000,
      			"sensor_event": "ok",
      			"sensor_status": "",
      			"sensor_polled": 1534337413,
      			"sensor_last_change": 1530644411
      		}
      	]
      }
      

      Attachments

        1. cli output.txt
          4 kB
        2. OBS-2752.txt
          580 kB

        Activity

          [OBS-2752] Cisco IOS-XE (RX dBm thresholds)

          Fixed in r9372.

          landy Mike Stupalov added a comment - Fixed in r9372.

          Yah, I see..

          entSensorThresholdSeverity.3147.1 = critical
          entSensorThresholdSeverity.3147.2 = minor
          entSensorThresholdSeverity.3147.3 = minor
          entSensorThresholdSeverity.3147.4 = critical
          entSensorThresholdRelation.3147.1 = greaterOrEqual
          entSensorThresholdRelation.3147.2 = greaterOrEqual
          entSensorThresholdRelation.3147.3 = lessOrEqual
          entSensorThresholdRelation.3147.4 = lessOrEqual
          entSensorThresholdValue.3147.1 = 0
          entSensorThresholdValue.3147.2 = -10
          entSensorThresholdValue.3147.3 = -110
          entSensorThresholdValue.3147.4 = -130
          

          landy Mike Stupalov added a comment - Yah, I see.. entSensorThresholdSeverity.3147.1 = critical entSensorThresholdSeverity.3147.2 = minor entSensorThresholdSeverity.3147.3 = minor entSensorThresholdSeverity.3147.4 = critical entSensorThresholdRelation.3147.1 = greaterOrEqual entSensorThresholdRelation.3147.2 = greaterOrEqual entSensorThresholdRelation.3147.3 = lessOrEqual entSensorThresholdRelation.3147.4 = lessOrEqual entSensorThresholdValue.3147.1 = 0 entSensorThresholdValue.3147.2 = -10 entSensorThresholdValue.3147.3 = -110 entSensorThresholdValue.3147.4 = -130

          Attach debug discovery for:

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

          landy Mike Stupalov added a comment - Attach debug discovery for: ./discovery.php -d -m sensors -h <device>

          People

            landy Mike Stupalov
            dklimek Denis Klimek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: