mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	Rename RutOS 2xx pinState state sensor to avoid conflict (#10675)
with rutos PinState state sensor
This commit is contained in:
		| @@ -7,7 +7,7 @@ modules: | |||||||
|             - Operator |             - Operator | ||||||
|     temperature: |     temperature: | ||||||
|       data: |       data: | ||||||
|         -  |         - | ||||||
|           oid: Temperature |           oid: Temperature | ||||||
|           num_oid: ".1.3.6.1.4.1.48690.2.9.{{ $index }}" |           num_oid: ".1.3.6.1.4.1.48690.2.9.{{ $index }}" | ||||||
|           descr: Module Temp |           descr: Module Temp | ||||||
| @@ -16,7 +16,7 @@ modules: | |||||||
|           divisor: 10 |           divisor: 10 | ||||||
|     state: |     state: | ||||||
|       data: |       data: | ||||||
|         -  |         - | ||||||
|           oid: SimState |           oid: SimState | ||||||
|           num_oid: ".1.3.6.1.4.1.48690.2.1.{{ $index }}" |           num_oid: ".1.3.6.1.4.1.48690.2.1.{{ $index }}" | ||||||
|           descr: SIM State |           descr: SIM State | ||||||
| @@ -26,18 +26,18 @@ modules: | |||||||
|             - { descr: inserted, graph: 1, value: 0, generic: 0 } |             - { descr: inserted, graph: 1, value: 0, generic: 0 } | ||||||
|             - { descr: not inserted, graph: 1, value: 1, generic: 2 } |             - { descr: not inserted, graph: 1, value: 1, generic: 2 } | ||||||
|             - { descr: unknown, graph: 1, value: 2, generic: 3 } |             - { descr: unknown, graph: 1, value: 2, generic: 3 } | ||||||
|         -  |         - | ||||||
|           oid: PinState |           oid: PinState | ||||||
|           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 } | ||||||
|             - { descr: READY, graph: 1, value: 2, generic: 0 } |             - { descr: READY, graph: 1, value: 2, generic: 0 } | ||||||
|             - { descr: unknown, graph: 1, value: 3, generic: 3 } |             - { descr: unknown, graph: 1, value: 3, generic: 3 } | ||||||
|         -  |         - | ||||||
|           oid: NetState |           oid: NetState | ||||||
|           num_oid: ".1.3.6.1.4.1.48690.2.3.{{ $index }}" |           num_oid: ".1.3.6.1.4.1.48690.2.3.{{ $index }}" | ||||||
|           descr: Mobile Net State |           descr: Mobile Net State | ||||||
| @@ -49,7 +49,7 @@ modules: | |||||||
|             - { descr: registered (roaming), graph: 1, value: 2, generic: 1 } |             - { descr: registered (roaming), graph: 1, value: 2, generic: 1 } | ||||||
|             - { descr: unknown, graph: 1, value: 3, generic: 3 } |             - { descr: unknown, graph: 1, value: 3, generic: 3 } | ||||||
|             - { descr: unregistered, graph: 1, value: 4, generic: 2 } |             - { descr: unregistered, graph: 1, value: 4, generic: 2 } | ||||||
|         -  |         - | ||||||
|           oid: ConnectionState |           oid: ConnectionState | ||||||
|           num_oid: ".1.3.6.1.4.1.48690.2.7.{{ $index }}" |           num_oid: ".1.3.6.1.4.1.48690.2.7.{{ $index }}" | ||||||
|           descr: "Connection State ({{ $Operator }})" |           descr: "Connection State ({{ $Operator }})" | ||||||
| @@ -60,7 +60,7 @@ modules: | |||||||
|             - { descr: connected, graph: 1, value: 0, generic: 0 } |             - { descr: connected, graph: 1, value: 0, generic: 0 } | ||||||
|             - { descr: not connected, graph: 1, value: 1, generic: 2 } |             - { descr: not connected, graph: 1, value: 1, generic: 2 } | ||||||
|             - { descr: disconnected, graph: 1, value: 2, generic: 2 } |             - { descr: disconnected, graph: 1, value: 2, generic: 2 } | ||||||
|         -  |         - | ||||||
|           oid: ConnectionType |           oid: ConnectionType | ||||||
|           num_oid: ".1.3.6.1.4.1.48690.2.8.{{ $index }}" |           num_oid: ".1.3.6.1.4.1.48690.2.8.{{ $index }}" | ||||||
|           descr: "Connection Type ({{ $Operator }})" |           descr: "Connection Type ({{ $Operator }})" | ||||||
| @@ -76,7 +76,7 @@ modules: | |||||||
|             - { descr: unknown, graph: 1, value: 5, generic: 3 } |             - { descr: unknown, graph: 1, value: 5, generic: 3 } | ||||||
|     signal: |     signal: | ||||||
|       data: |       data: | ||||||
|         -  |         - | ||||||
|           oid: Signal |           oid: Signal | ||||||
|           num_oid: ".1.3.6.1.4.1.48690.2.4.{{ $index }}" |           num_oid: ".1.3.6.1.4.1.48690.2.4.{{ $index }}" | ||||||
|           entPhysicalIndex: "{{ $index }}" |           entPhysicalIndex: "{{ $index }}" | ||||||
| @@ -86,7 +86,7 @@ modules: | |||||||
|           index: "Signal.{{ $index }}" |           index: "Signal.{{ $index }}" | ||||||
|     count: |     count: | ||||||
|       data: |       data: | ||||||
|         -  |         - | ||||||
|           oid: SimSlot |           oid: SimSlot | ||||||
|           num_oid: ".1.3.6.1.4.1.48690.2.15.{{ $index }}" |           num_oid: ".1.3.6.1.4.1.48690.2.15.{{ $index }}" | ||||||
|           descr: "Number of SIM Slots" |           descr: "Number of SIM Slots" | ||||||
| @@ -94,7 +94,7 @@ modules: | |||||||
|           index: "simSlot.{{ $index }}" |           index: "simSlot.{{ $index }}" | ||||||
|     runtime: |     runtime: | ||||||
|       data: |       data: | ||||||
|         -  |         - | ||||||
|           oid: ConnectionUptime |           oid: ConnectionUptime | ||||||
|           num_oid: ".1.3.6.1.4.1.48690.2.17.{{ $index }}" |           num_oid: ".1.3.6.1.4.1.48690.2.17.{{ $index }}" | ||||||
|           descr: "Connection Uptime " |           descr: "Connection Uptime " | ||||||
|   | |||||||
| @@ -19,14 +19,14 @@ | |||||||
|  </item> |  </item> | ||||||
|  <item> |  <item> | ||||||
|    <title>Billing Data Changes</title> |    <title>Billing Data Changes</title> | ||||||
|    <description>We have updated the method for storing billing data, removing a lot of information stored in  |    <description>We have updated the method for storing billing data, removing a lot of information stored in | ||||||
|    the database which was not used.  Please check that your billing data is updating as expected, and  |    the database which was not used.  Please check that your billing data is updating as expected, and | ||||||
|    if you notice any problems open an issue on GitHub.</description> |    if you notice any problems open an issue on GitHub.</description> | ||||||
|    <pubDate>Mon, 07 Mar 2016 12:00:00 +0000</pubDate> |    <pubDate>Mon, 07 Mar 2016 12:00:00 +0000</pubDate> | ||||||
|  </item> |  </item> | ||||||
|  <item> |  <item> | ||||||
|    <title>Introduction of default purge interval or alert history</title> |    <title>Introduction of default purge interval or alert history</title> | ||||||
|    <description>We have introduced a purge setting for alert history which is set to 365 days as default. If you would like to update this then please  |    <description>We have introduced a purge setting for alert history which is set to 365 days as default. If you would like to update this then please | ||||||
|    set $config['alert_log_purge'] to a custom value (set in days).</description> |    set $config['alert_log_purge'] to a custom value (set in days).</description> | ||||||
|    <pubDate>Mon, 02 May 2016 20:00:00 +0000</pubDate> |    <pubDate>Mon, 02 May 2016 20:00:00 +0000</pubDate> | ||||||
|  </item> |  </item> | ||||||
| @@ -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> | ||||||
|   | |||||||
| @@ -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, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user