Files
3e0e359f5b Ubiquiti Edgepower OS definition (#11315)
* Initial adding Ubiquiti EdgePower sensors

* Initial adding Ubiquiti EdgePower sensors

* Create airos-ep OS

* Added sensors

* Travis

* Added test / snmprec data

* Codeclimate

* minors

* Update ubnt.inc.php

* Update UBNT-EdgeMAX-MIB

* Update ubnt.inc.php

* Change Airos to EdgeOS

* Add forgotten files

* Test data

* Change os yaml

* Travis

* Update edgeos-ep.inc.php

* Create edgeos-ep.json

* Update edgeos-ep.yaml

* Update ubnt.inc.php

* Update airos.yaml

* Battery and PSU quantity not beeing displayed

* Rerun OS tests to generate json file

* Add high low temp values recommended by factory

* Add high low temp values recommended by factory

* Travis

Co-authored-by: PipoCanaja <[email protected]>
Co-authored-by: Tony Murray <[email protected]>
2020-03-24 09:13:04 -05:00

101 lines
4.2 KiB
YAML

mib: UBNT-EdgeMAX-MIB
modules:
processors:
data:
-
oid: ubntHostCpuLoad
num_oid: '.1.3.6.1.4.1.41112.1.4.8.3.{{ $index }}'
precision: 100
sensors:
count:
data:
-
oid: ubntPsuBaysNumber
num_oid: '.1.3.6.1.4.1.41112.1.5.3.1.{{ $index }}'
descr: Number of PSU's
-
oid: ubntPsuBatteryQuantity
num_oid: '.1.3.6.1.4.1.41112.1.5.3.2.1.8.{{ $index }}'
descr: 'Number of batteries PSU {{ $index }}'
voltage:
data:
-
oid: ubntPowerOutVoltage
divisor: 1000
num_oid: '.1.3.6.1.4.1.41112.1.5.2.2.1.2.{{ $index }}'
descr: Output Voltage
-
oid: ubntPsuVoltage
divisor: 1000
num_oid: '.1.3.6.1.4.1.41112.1.5.3.2.1.5.{{ $index }}'
index: 'ubntPsuVoltage.{{ $index }}'
descr: 'Input Voltage PSU {{ $index }}'
current:
data:
-
oid: ubntPowerOutCurrent
divisor: 1000
num_oid: '.1.3.6.1.4.1.41112.1.5.2.2.1.3.{{ $index }}'
descr: Output Current
power:
data:
-
oid: ubntPowerOutPower
divisor: 1000
num_oid: '.1.3.6.1.4.1.41112.1.5.2.2.1.4.{{ $index }}'
descr: Output power
state:
data:
-
oid: ubntPsuOperStatus
num_oid: '.1.3.6.1.4.1.41112.1.5.3.2.1.4.{{ $index }}'
low_limit: 0
descr: 'PSU {{ $index }}'
states:
- { descr: Offline, graph: 0, value: 0, generic: 2 }
- { descr: Online, graph: 0, value: 1, generic: 0 }
-
oid: ubntPsuCharging
value: ubntPsuCharging
num_oid: '.1.3.6.1.4.1.41112.1.5.3.2.1.7.{{ $index }}'
descr: 'Charge status PSU {{ $index }}'
index: '{{ $index }}'
states:
- { descr: unknown, graph: 0, value: 0, generic: 1 }
- { descr: Charging, graph: 0, value: 1, generic: 0 }
- { descr: Charging Off, graph: 0, value: 2, generic: 0 }
-
oid: ubntPsuStatus
value: ubntPsuStatus
num_oid: '.1.3.6.1.4.1.41112.1.5.3.2.1.3.{{ $index }}'
descr: 'PSU status {{ $index }}'
index: '{{ $index }}'
states:
- { descr: unknown, graph: 0, value: 0, generic: 1 }
- { descr: On, graph: 0, value: 1, generic: 0 }
- { descr: Off, graph: 0, value: 2, generic: 2 }
- { descr: Standby, graph: 0, value: 3, generic: 0 }
-
oid: ubntPsuType
value: ubntPsuType
num_oid: '.1.3.6.1.4.1.41112.1.5.3.2.1.2.{{ $index }}'
descr: 'PSU type {{ $index }}'
index: '{{ $index }}'
states:
- { descr: unknown, graph: 0, value: 0, generic: 1 }
- { descr: AC, graph: 0, value: 1, generic: 0 }
- { descr: DC, graph: 0, value: 2, generic: 0 }
- { descr: POE, graph: 0, value: 3, generic: 0 }
temperature:
data:
-
oid: ubntThermTemperature
divisor: 1000
num_oid: '.1.3.6.1.4.1.41112.1.5.4.2.1.3.{{ $index }}'
index: 'ubntThermTemperature.{{ $index }}'
descr: 'Temperatures {{ $index }}'
low_limit: 0
low_warn_limit: 5
warn_limit: 35
high_limit: 40