Details
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 |
}
|
]
|
}
|