mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* Rittal CMC III: Add device support for PU and PU Compact * Rittal CMC III: Readd accidentally removed sysObjectID * Rittal CMC III: Some small fixes * Rittal CMC III: Use device serial number instead of the internal device id for state index naming - version, hardware and serial is now read via yaml - update test files * Rittal CMC III: Check if the serial number is available * Rittal CMC III: Update test data * Rittal CMC III: Update unset * Rittal CMC III: Remove space in yaml
21 lines
824 B
YAML
21 lines
824 B
YAML
mib: RITTAL-CMC-III-MIB
|
|
modules:
|
|
os:
|
|
hardware: RITTAL-CMC-III-MIB::cmcIIIDevName.1
|
|
serial: RITTAL-CMC-III-MIB::cmcIIIUnitSerial.0
|
|
version: RITTAL-CMC-III-MIB::cmcIIIUnitFWRev.0
|
|
sensors:
|
|
state:
|
|
data:
|
|
-
|
|
oid: cmcIIIUnitStatus
|
|
value: cmcIIIUnitStatus
|
|
state_name: cmcIIIUnitStatus
|
|
num_oid: '.1.3.6.1.4.1.2606.7.2.1.{{ $index }}'
|
|
index: 'cmcIIIUnitStatus.{{ $index }}'
|
|
descr: Unit Status
|
|
states:
|
|
- { descr: OK, graph: 1, value: 1, generic: 0 }
|
|
- { descr: Failed, graph: 1, value: 2, generic: 2 }
|
|
- { descr: Overload, graph: 1, value: 3, generic: 1 }
|