mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* Added support for ICT Modular Power System and ICT Sine Wave Inverter * Added SNMP test data for ICT Modular Power System and ICT Sine Wave Inverter * Fixed styling errors and refactored state sensor for ICT Sine Wave Inverter * Fixed newly created styling issues from refactoring ICT Sine Wave Inverter files. * Fixed further styling errors from previous changed to appease Travis CI * Removed unnecessary math from ICT Sine Wave Inverter voltage sensor * Cleaned up unnecessary lines in ict-mps/ict-swi sensors. Moved from snmp_get to snmp_get_multi in ict-mps/ict-swi os pollers. * Added test data for ICT MPS and SWI * Fixed issue with load sensor not discovering * Update snmpget to snmp_get Co-Authored-By: Jellyfrog <Jellyfrog@users.noreply.github.com> * Updated test data post-fixing sensor detection issue on ICT Sine Wave Inverters * Moved ict-swi and ict-mps from legacy to yaml sensors * Removed legacy code for ict-mps and ict-swi sensors * Last commit mistakenly removed OS polling from ict-mps and ict-swi * Fixed formatting for OS polling and updated test data for ict-mps and ict-swi Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
52 lines
2.2 KiB
YAML
52 lines
2.2 KiB
YAML
mib: ICT-MODULAR-POWER-SYSTEM-MIB
|
|
modules:
|
|
sensors:
|
|
current:
|
|
data:
|
|
-
|
|
oid: outputCurrent
|
|
num_oid: '.1.3.6.1.4.1.39145.13.8.{{ $index }}'
|
|
descr: 'Output Current'
|
|
index: 'outputCurrent.{{ $index }}'
|
|
voltage:
|
|
data:
|
|
-
|
|
oid: inputVoltage
|
|
num_oid: '.1.3.6.1.4.1.39145.13.6.{{ $index }}'
|
|
descr: 'Input Voltage'
|
|
index: 'inputVoltage.{{ $index }}'
|
|
-
|
|
oid: outputVoltage
|
|
num_oid: '.1.3.6.1.4.1.39145.13.7.{{ $index }}'
|
|
descr: 'Output Voltage'
|
|
index: 'outputVoltage.{{ $index }}'
|
|
-
|
|
oid: moduleTable
|
|
value: moduleVoltage
|
|
num_oid: '.1.3.6.1.4.1.39145.13.10.1.4.{{ $index }}'
|
|
descr: 'Module #{{ $index }} Voltage (VDC)'
|
|
index: 'moduleVoltage.{{ $index }}'
|
|
state:
|
|
data:
|
|
-
|
|
oid: moduleStatus
|
|
value: moduleStatus
|
|
num_oid: '.1.3.6.1.4.1.39145.13.10.1.2.{{ $index }}'
|
|
descr: 'Module #{{ $index }} Status'
|
|
index: 'moduleStatus.{{ $index }}'
|
|
states:
|
|
- { graph: 0, value: 1, generic: 1, descr: notInstalled }
|
|
- { graph: 0, value: 2, generic: 0, descr: ok }
|
|
- { graph: 0, value: 3, generic: 2, descr: alarm }
|
|
-
|
|
oid: moduleType
|
|
value: moduleType
|
|
num_oid: '.1.3.6.1.4.1.39145.13.10.1.3.{{ $index }}'
|
|
descr: 'Module #{{ $index }} Type'
|
|
index: 'moduleType.{{ $index }}'
|
|
states:
|
|
- { graph: 0, value: 1, generic: 1, descr: notInstalled }
|
|
- { graph: 0, value: 2, generic: 0, descr: power }
|
|
- { graph: 0, value: 3, generic: 0, descr: battery }
|
|
- { graph: 0, value: 4, generic: 0, descr: distribution }
|