Rename RutOS 2xx pinState state sensor to avoid conflict (#10675)

with rutos PinState state sensor
This commit is contained in:
Tony Murray
2019-10-11 04:10:50 +00:00
committed by GitHub
parent 80e138fa40
commit e046ccde2d
3 changed files with 24 additions and 19 deletions

View File

@@ -31,7 +31,7 @@ modules:
num_oid: ".1.3.6.1.4.1.48690.2.2.{{ $index }}" num_oid: ".1.3.6.1.4.1.48690.2.2.{{ $index }}"
descr: Pin State descr: Pin State
group: Mobile group: Mobile
state_name: pinState state_name: rutos2xx_pinState
states: states:
- { descr: PIN REQUIRED, graph: 1, value: 0, generic: 2 } - { descr: PIN REQUIRED, graph: 1, value: 0, generic: 2 }
- { descr: NOT READY, graph: 1, value: 1, generic: 1 } - { descr: NOT READY, graph: 1, value: 1, generic: 1 }

View File

@@ -63,5 +63,10 @@
<description>Version two of the LibreNMS python dispatcher service is merged. This code now requires Redis 5.x and redis-py 3.x to operate (if using distributed polling). If you are using the dispatcher service with Redis and have not updated, polling will stop functioning.</description> <description>Version two of the LibreNMS python dispatcher service is merged. This code now requires Redis 5.x and redis-py 3.x to operate (if using distributed polling). If you are using the dispatcher service with Redis and have not updated, polling will stop functioning.</description>
<pubDate>Mon, 20 May 2019 00:00:00 +0000</pubDate> <pubDate>Mon, 20 May 2019 00:00:00 +0000</pubDate>
</item> </item>
<item>
<title>RutOS 2xx pinState renamed</title>
<description>RutOS 2xx pinState renamed to rutos2xx_pinState. Update any alert rules you may have.</description>
<pubDate>Thu, 10 Oct 2019 00:00:00 +0000</pubDate>
</item>
</channel> </channel>
</rss> </rss>

View File

@@ -3054,7 +3054,7 @@
"poller_type": "snmp", "poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.48690.2.2.0", "sensor_oid": ".1.3.6.1.4.1.48690.2.2.0",
"sensor_index": "0", "sensor_index": "0",
"sensor_type": "pinState", "sensor_type": "rutos2xx_pinState",
"sensor_descr": "Pin State", "sensor_descr": "Pin State",
"group": "Mobile", "group": "Mobile",
"sensor_divisor": 1, "sensor_divisor": 1,
@@ -3070,7 +3070,7 @@
"entPhysicalIndex_measured": null, "entPhysicalIndex_measured": null,
"sensor_prev": null, "sensor_prev": null,
"user_func": null, "user_func": null,
"state_name": "pinState" "state_name": "rutos2xx_pinState"
}, },
{ {
"sensor_deleted": 0, "sensor_deleted": 0,
@@ -3221,28 +3221,28 @@
"state_generic_value": 2 "state_generic_value": 2
}, },
{ {
"state_name": "pinState", "state_name": "rutos2xx_pinState",
"state_descr": "PIN REQUIRED", "state_descr": "PIN REQUIRED",
"state_draw_graph": 1, "state_draw_graph": 1,
"state_value": 0, "state_value": 0,
"state_generic_value": 2 "state_generic_value": 2
}, },
{ {
"state_name": "pinState", "state_name": "rutos2xx_pinState",
"state_descr": "NOT READY", "state_descr": "NOT READY",
"state_draw_graph": 1, "state_draw_graph": 1,
"state_value": 1, "state_value": 1,
"state_generic_value": 1 "state_generic_value": 1
}, },
{ {
"state_name": "pinState", "state_name": "rutos2xx_pinState",
"state_descr": "READY", "state_descr": "READY",
"state_draw_graph": 1, "state_draw_graph": 1,
"state_value": 2, "state_value": 2,
"state_generic_value": 0 "state_generic_value": 0
}, },
{ {
"state_name": "pinState", "state_name": "rutos2xx_pinState",
"state_descr": "unknown", "state_descr": "unknown",
"state_draw_graph": 1, "state_draw_graph": 1,
"state_value": 3, "state_value": 3,