Skip to content

Commit

Permalink
Correct aviatModemCurModulationRx oid (#14446)
Browse files Browse the repository at this point in the history
* Update aviat-wtm.yaml

* Update aviat-wtm.json
  • Loading branch information
Jellyfrog committed Oct 12, 2022
1 parent 5255da8 commit bc48c84
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion includes/definitions/discovery/aviat-wtm.yaml
Expand Up @@ -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
Expand Down
16 changes: 8 additions & 8 deletions tests/data/aviat-wtm.json
Expand Up @@ -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)",
Expand All @@ -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)",
Expand Down Expand Up @@ -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,
Expand All @@ -559,22 +559,22 @@
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": 14,
"sensor_prev": null,
"user_func": null,
"state_name": "aviatModemCurModulationRx"
},
{
"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,
Expand All @@ -583,7 +583,7 @@
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": 14,
"sensor_prev": null,
"user_func": null,
"state_name": "aviatModemCurModulationRx"
},
Expand Down

0 comments on commit bc48c84

Please sign in to comment.