Files
librenms-librenms/includes/definitions/discovery/orvaldi-ups.yaml
PipoCanaja 7fd7ba5a84 Added support for Orvaldi UPS (#10021)
* 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 ...
2019-03-27 07:21:35 -05:00

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 }}'