Tony Murray 28ea91d7d9 Eltek Valere more sensors (#9713)
* Eltek Valere more sensors

* Fix runtime, temperature and format runtime

* remove "runtime" sensor

* Don't need the pre-cache

* Parenthesis

* match previous indentation
2019-01-22 17:06:27 -06:00

84 lines
3.8 KiB
YAML

mib: VALERE-DC-POWER-MIB
modules:
sensors:
voltage:
data:
-
oid: vpwrSystemParameterGroup
value: vpwrSystemVoltage
num_oid: '.1.3.6.1.4.1.13858.2.3.2.{{ $index }}'
descr: System Voltage
divisor: 100
current:
data:
-
oid: vpwrSystemParameterGroup
value: vpwrSystemCurrent
num_oid: '.1.3.6.1.4.1.13858.2.3.3.{{ $index }}'
descr: System Current
-
oid: vpwrSystemIdentTable
value: vpwrModuleCurrent
num_oid: '.1.3.6.1.4.1.13858.2.1.6.1.4.{{ $index }}'
high_limit: vpwrModuleCapacity
divisor: 100
descr: 'Module {{ $vpwrBayIndex }}.{{ $vpwrModuleIndex }} Current'
group: Modules
skip_values:
- oid: vpwrModuleOID
op: '='
value: 'vpwrDcPowerLvd'
temperature:
data:
-
oid: vpwrSystemParameterGroup
value: vpwrSystemInternalTemperature
num_oid: '.1.3.6.1.4.1.13858.2.3.5.{{ $index }}'
descr: Internal Temperature
-
oid: vpwrBatteryTempTable
value: vpwrBatteryTemp
num_oid: '.1.3.6.1.4.1.13858.7.1.1.1.3.{{ $index }}'
descr: vpwrBatteryTempName
index: 'battery{{ $index }}'
group: Batteries
skip_value_lt: -125
state:
data:
-
oid: vpwrSystemParameterGroup
value: vpwrSystemControllerState
num_oid: '.1.3.6.1.4.1.13858.2.3.4.{{ $index }}'
descr: Controller Status
state_name: vpwrSystemControllerState
states:
- { descr: Unknown, graph: 0, value: 0, generic: 3 }
- { descr: Normal, graph: 0, value: 1, generic: 0 }
- { descr: Change, graph: 0, value: 2, generic: 1 }
- { descr: Alarm, graph: 0, value: 3, generic: 2 }
- { descr: Menu, graph: 0, value: 4, generic: 1 }
- { descr: IrActive, graph: 0, value: 5, generic: 1 }
-
oid: vpwrSystemParameterGroup
value: vpwrSystemTempCompensationState
num_oid: '.1.3.6.1.4.1.13858.2.3.6.{{ $index }}'
descr: Temperature Compensation
state_name: vpwrSystemTempCompensationState
states:
- { descr: Inactive, graph: 0, value: 0, generic: 0 }
- { descr: Active, graph: 0, value: 1, generic: 1 }
-
oid: vpwrSystemIdentTable
value: vpwrModuleOperStatus
num_oid: '.1.3.6.1.4.1.13858.2.1.6.1.5.{{ $index }}'
descr: "Module {{ $vpwrBayIndex }}.{{ $vpwrModuleIndex }} Status"
group: Modules
state_name: vpwrModuleOperStatus
states:
- { descr: Ok, graph: 0, value: 0, generic: 0 }
- { descr: Alarm, graph: 0, value: 1, generic: 2 }
- { descr: Disabled, graph: 0, value: 2, generic: 3 }
- { descr: RingerAOn, graph: 0, value: 3, generic: 1 }
- { descr: RingerBOn, graph: 0, value: 4, generic: 1 }
- { descr: Unknown, graph: 0, value: 5, generic: 3 }