mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* ovaldi UPS support * ovaldi UPS tests * serial + model + version inc tests * update of the code using details from requester * update of the code using details from requester * update of the tests * forgot discovery yaml ...
30 lines
1.1 KiB
YAML
30 lines
1.1 KiB
YAML
mib: companyMIB
|
|
modules:
|
|
sensors:
|
|
state:
|
|
data:
|
|
-
|
|
oid: upsIdUPSType
|
|
num_oid: '.1.3.6.1.4.1.21111.1.1.1.7.{{ $index }}'
|
|
descr: 'UPS Type'
|
|
state_name: upsIdUPSType
|
|
states:
|
|
- { descr: 'standby', graph: 1, value: 0, generic: 0 }
|
|
- { descr: 'line-interactive', graph: 1, value: 1, generic: 1 }
|
|
- { descr: 'on-line', graph: 1, value: 2, generic: 0 }
|
|
count:
|
|
data:
|
|
-
|
|
oid: upsBatNumberInSeries
|
|
num_oid: '.1.3.6.1.4.1.21111.1.1.3.14.{{ $index }}'
|
|
descr: 'Nb. of Batteries in Series'
|
|
group: Battery
|
|
index: 'series-{{ $index }}'
|
|
|
|
-
|
|
oid: upsBatNumberInParallel
|
|
num_oid: '.1.3.6.1.4.1.21111.1.1.3.15.{{ $index }}'
|
|
descr: 'Nb. of Batteries in Parallel'
|
|
group: Battery
|
|
index: 'parallel-{{ $index }}'
|