diff --git a/includes/definitions/discovery/aviat-wtm.yaml b/includes/definitions/discovery/aviat-wtm.yaml index dbccae0675b9..bfc01dc6d55f 100644 --- a/includes/definitions/discovery/aviat-wtm.yaml +++ b/includes/definitions/discovery/aviat-wtm.yaml @@ -9,7 +9,7 @@ modules: data: - oid: aviatModemCurModulationRx - num_oid: '.1.3.6.1.4.1.2509.9.3.2.1.1.13.{{ $index }}' + num_oid: '.1.3.6.1.4.1.2509.9.3.2.1.1.14.{{ $index }}' descr: Tx Mod Rate (Carrier1/{{ $index }}) index: '{{ $index }}' state_name: aviatModemCurModulationRx diff --git a/tests/data/aviat-wtm.json b/tests/data/aviat-wtm.json index 99e01b4e481a..f4e659b864d8 100644 --- a/tests/data/aviat-wtm.json +++ b/tests/data/aviat-wtm.json @@ -247,7 +247,7 @@ "sensor_deleted": 0, "sensor_class": "state", "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.2509.9.3.2.1.1.13.59", + "sensor_oid": ".1.3.6.1.4.1.2509.9.3.2.1.1.14.59", "sensor_index": "59", "sensor_type": "aviatModemCurModulationRx", "sensor_descr": "Tx Mod Rate (Carrier1/59)", @@ -271,7 +271,7 @@ "sensor_deleted": 0, "sensor_class": "state", "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.2509.9.3.2.1.1.13.60", + "sensor_oid": ".1.3.6.1.4.1.2509.9.3.2.1.1.14.60", "sensor_index": "60", "sensor_type": "aviatModemCurModulationRx", "sensor_descr": "Tx Mod Rate (Carrier1/60)", @@ -543,14 +543,14 @@ "sensor_deleted": 0, "sensor_class": "state", "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.2509.9.3.2.1.1.13.59", + "sensor_oid": ".1.3.6.1.4.1.2509.9.3.2.1.1.14.59", "sensor_index": "59", "sensor_type": "aviatModemCurModulationRx", "sensor_descr": "Tx Mod Rate (Carrier1/59)", "group": null, "sensor_divisor": 1, "sensor_multiplier": 1, - "sensor_current": 0, + "sensor_current": 14.0, "sensor_limit": null, "sensor_limit_warn": null, "sensor_limit_low": null, @@ -559,7 +559,7 @@ "sensor_custom": "No", "entPhysicalIndex": null, "entPhysicalIndex_measured": null, - "sensor_prev": 14, + "sensor_prev": null, "user_func": null, "state_name": "aviatModemCurModulationRx" }, @@ -567,14 +567,14 @@ "sensor_deleted": 0, "sensor_class": "state", "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.2509.9.3.2.1.1.13.60", + "sensor_oid": ".1.3.6.1.4.1.2509.9.3.2.1.1.14.60", "sensor_index": "60", "sensor_type": "aviatModemCurModulationRx", "sensor_descr": "Tx Mod Rate (Carrier1/60)", "group": null, "sensor_divisor": 1, "sensor_multiplier": 1, - "sensor_current": 0, + "sensor_current": 14.0, "sensor_limit": null, "sensor_limit_warn": null, "sensor_limit_low": null, @@ -583,7 +583,7 @@ "sensor_custom": "No", "entPhysicalIndex": null, "entPhysicalIndex_measured": null, - "sensor_prev": 14, + "sensor_prev": null, "user_func": null, "state_name": "aviatModemCurModulationRx" },