mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Cleaned sensor descriptions using $subindexX (#9932)
* Netgear * fusion * eaton-mgeups * apc-mgeups
This commit is contained in:
@@ -8,7 +8,7 @@ modules:
|
||||
value: mgoutputLoadPerPhase
|
||||
num_oid: '.1.3.6.1.4.1.705.1.7.2.1.4.{{ $index }}'
|
||||
multiplier: 1000
|
||||
descr: 'Output (VA) Phase {{ $index }}'
|
||||
descr: 'Output (VA) Phase {{ $subindex0 }}'
|
||||
index: 'kva.mgoutputLoadPerPhase.{{ $index }}'
|
||||
current:
|
||||
data:
|
||||
@@ -17,14 +17,14 @@ modules:
|
||||
value: mginputCurrent
|
||||
num_oid: '.1.3.6.1.4.1.705.1.6.2.1.6.{{ $index }}'
|
||||
divisor: 10
|
||||
descr: 'Input Current Phase {{ $index }}'
|
||||
descr: 'Input Current Phase {{ $subindex0 }}'
|
||||
index: 'mginputCurrent.{{ $index }}'
|
||||
-
|
||||
oid: upsmgOutputPhaseTable
|
||||
value: mgoutputCurrent
|
||||
num_oid: '.1.3.6.1.4.1.705.1.7.2.1.5.{{ $index }}'
|
||||
divisor: 10
|
||||
descr: 'Output Current Phase {{ $index }}'
|
||||
descr: 'Output Current Phase {{ $subindex0 }}'
|
||||
index: 'mgoutputCurrent.{{ $index }}'
|
||||
-
|
||||
oid: upsmgBattery
|
||||
@@ -48,14 +48,14 @@ modules:
|
||||
value: mginputFrequency
|
||||
num_oid: '.1.3.6.1.4.1.705.1.6.2.1.3.{{ $index }}'
|
||||
divisor: 10
|
||||
descr: 'Input Frequency Phase {{ $index }}'
|
||||
descr: 'Input Frequency Phase {{ $subindex0 }}'
|
||||
index: 'mginputFrequency.{{ $index }}'
|
||||
-
|
||||
oid: upsmgOutputPhaseTable
|
||||
value: mgoutputFrequency
|
||||
num_oid: '.1.3.6.1.4.1.705.1.7.2.1.3.{{ $index }}'
|
||||
divisor: 10
|
||||
descr: 'Output Frequency Phase {{ $index }}'
|
||||
descr: 'Output Frequency Phase {{ $subindex0 }}'
|
||||
index: 'mgoutputFrequency.{{ $index }}'
|
||||
delay:
|
||||
data:
|
||||
@@ -80,14 +80,14 @@ modules:
|
||||
value: mginputVoltage
|
||||
num_oid: '.1.3.6.1.4.1.705.1.6.2.1.2.{{ $index }}'
|
||||
divisor: 10
|
||||
descr: 'Input Phase/Phase {{ $index }}'
|
||||
descr: 'Input Phase/Phase {{ $subindex0 }}'
|
||||
index: 'mginputVoltage.{{ $index }}'
|
||||
-
|
||||
oid: upsmgOutputPhaseTable
|
||||
value: mgoutputVoltage
|
||||
num_oid: '.1.3.6.1.4.1.705.1.7.2.1.2.{{ $index }}'
|
||||
divisor: 10
|
||||
descr: 'Output Phase/Phase {{ $index }}'
|
||||
descr: 'Output Phase/Phase {{ $subindex0 }}'
|
||||
index: 'mgoutputVoltage.{{ $index }}'
|
||||
-
|
||||
oid: upsmgBattery
|
||||
|
@@ -8,7 +8,7 @@ modules:
|
||||
value: mgoutputLoadPerPhase
|
||||
num_oid: '.1.3.6.1.4.1.705.1.7.2.1.4.{{ $index }}'
|
||||
multiplier: 1000
|
||||
descr: 'Output (VA) Phase {{ $index }}'
|
||||
descr: 'Output (VA) Phase {{ $subindex0 }}'
|
||||
index: 'kva.mgoutputLoadPerPhase.{{ $index }}'
|
||||
current:
|
||||
data:
|
||||
@@ -17,14 +17,14 @@ modules:
|
||||
value: mginputCurrent
|
||||
num_oid: '.1.3.6.1.4.1.705.1.6.2.1.6.{{ $index }}'
|
||||
divisor: 10
|
||||
descr: 'Input Current Phase {{ $index }}'
|
||||
descr: 'Input Current Phase {{ $subindex0 }}'
|
||||
index: 'mginputCurrent.{{ $index }}'
|
||||
-
|
||||
oid: upsmgOutputPhaseTable
|
||||
value: mgoutputCurrent
|
||||
num_oid: '.1.3.6.1.4.1.705.1.7.2.1.5.{{ $index }}'
|
||||
divisor: 10
|
||||
descr: 'Output Current Phase {{ $index }}'
|
||||
descr: 'Output Current Phase {{ $subindex0 }}'
|
||||
index: 'mgoutputCurrent.{{ $index }}'
|
||||
-
|
||||
oid: upsmgBattery
|
||||
@@ -62,14 +62,14 @@ modules:
|
||||
value: mginputFrequency
|
||||
num_oid: '.1.3.6.1.4.1.705.1.6.2.1.3.{{ $index }}'
|
||||
divisor: 10
|
||||
descr: 'Input Frequency Phase {{ $index }}'
|
||||
descr: 'Input Frequency Phase {{ $subindex0 }}'
|
||||
index: 'mginputFrequency.{{ $index }}'
|
||||
-
|
||||
oid: upsmgOutputPhaseTable
|
||||
value: mgoutputFrequency
|
||||
num_oid: '.1.3.6.1.4.1.705.1.7.2.1.3.{{ $index }}'
|
||||
divisor: 10
|
||||
descr: 'Output Frequency Phase {{ $index }}'
|
||||
descr: 'Output Frequency Phase {{ $subindex0 }}'
|
||||
index: 'mgoutputFrequency.{{ $index }}'
|
||||
delay:
|
||||
data:
|
||||
@@ -94,14 +94,14 @@ modules:
|
||||
value: mginputVoltage
|
||||
num_oid: '.1.3.6.1.4.1.705.1.6.2.1.2.{{ $index }}'
|
||||
divisor: 10
|
||||
descr: 'Input Phase/Phase {{ $index }}'
|
||||
descr: 'Input Phase/Phase {{ $subindex0 }}'
|
||||
index: 'mginputVoltage.{{ $index }}'
|
||||
-
|
||||
oid: upsmgOutputPhaseTable
|
||||
value: mgoutputVoltage
|
||||
num_oid: '.1.3.6.1.4.1.705.1.7.2.1.2.{{ $index }}'
|
||||
divisor: 10
|
||||
descr: 'Output Phase/Phase {{ $index }}'
|
||||
descr: 'Output Phase/Phase {{ $subindex0 }}'
|
||||
index: 'mgoutputVoltage.{{ $index }}'
|
||||
-
|
||||
oid: upsmgBattery
|
||||
|
@@ -68,8 +68,9 @@ modules:
|
||||
-
|
||||
oid: switchThermalTempTable
|
||||
value: switchThermalTempValue
|
||||
group: 'Unit {{ $subindex0 }}'
|
||||
num_oid: '.1.3.6.1.4.1.259.6.10.120.1.1.11.1.3.{{ $index }}'
|
||||
descr: 'Thermal {{ $index }}'
|
||||
descr: 'Unit {{ $subindex0 }} Thermal {{ $subindex1 }}'
|
||||
index: 'switchThermalTempValue.{{ $index }}'
|
||||
fanspeed:
|
||||
data:
|
||||
@@ -77,7 +78,8 @@ modules:
|
||||
oid: switchFanTable
|
||||
value: switchFanOperSpeed
|
||||
num_oid: '.1.3.6.1.4.1.259.6.10.120.1.1.9.1.6.{{ $index }}'
|
||||
descr: 'Fan {{ $index }}'
|
||||
group: 'Unit {{ $subindex0 }}'
|
||||
descr: 'Unit {{ $subindex0 }} Fan {{ $subindex1 }}'
|
||||
index: 'switchFanOperSpeed.{{ $index }}'
|
||||
state:
|
||||
data:
|
||||
@@ -85,7 +87,8 @@ modules:
|
||||
oid: switchFanTable
|
||||
value: switchFanStatus
|
||||
num_oid: '.1.3.6.1.4.1.259.6.10.120.1.1.9.1.3.{{ $index }}'
|
||||
descr: 'Fan {{ $index }}'
|
||||
group: 'Unit {{ $subindex0 }}'
|
||||
descr: 'Unit {{ $subindex0 }} Fan {{ $subindex1 }}'
|
||||
index: 'switchFanStatus.{{ $index }}'
|
||||
state_name: switchFanStatus
|
||||
states:
|
||||
|
@@ -14,7 +14,7 @@ modules:
|
||||
oid: boxServicesTempSensorsTable
|
||||
value: boxServicesTempSensorTemperature
|
||||
num_oid: '.1.3.6.1.4.1.4526.10.43.1.8.1.5.{{ $index }}'
|
||||
descr: 'Switch {{ $index }} Temperature'
|
||||
descr: 'Switch {{ $subindex0 }} Sensor {{ $subindex1 }} Temperature'
|
||||
index: 'boxServicesTempSensorTemperature.{{ $index }}'
|
||||
low_limit: boxServicesNormalTempRangeMin
|
||||
high_limit: boxServicesNormalTempRangeMax
|
||||
@@ -24,7 +24,7 @@ modules:
|
||||
oid: boxServicesFansTable
|
||||
value: boxServicesFanItemState
|
||||
num_oid: '.1.3.6.1.4.1.4526.10.43.1.6.1.3.{{ $index }}'
|
||||
descr: 'Switch {{ $index }} Fan State'
|
||||
descr: 'Switch {{ $subindex0 }} Fan {{ $subindex1 }} State'
|
||||
index: 'boxServicesFanItemState.{{ $index }}'
|
||||
state_name: boxServicesFanItemState
|
||||
states:
|
||||
|
Reference in New Issue
Block a user