mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Add support for Aten PE8216 PDU (#11887)
* Add support for Aten PE8216 PDU * Add support for Aten PE8216 PDU * Add support for Aten PE8216 PDU * Revert "Add support for Aten PE8216 PDU" This reverts commit5d2f195f28
. * Revert "Add support for Aten PE8216 PDU" This reverts commitebfd659775
. * Fixed integer issue with skip_values * More integer changes * Add json file * Fix yaml file * Setting modules like that reduces user control Co-authored-by: Tony Murray <murraytony@gmail.com>
This commit is contained in:
BIN
html/images/os/aten.png
Normal file
BIN
html/images/os/aten.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.4 KiB |
14
includes/definitions/atenpdu.yaml
Executable file
14
includes/definitions/atenpdu.yaml
Executable file
@@ -0,0 +1,14 @@
|
||||
os: atenpdu
|
||||
text: Aten PDU
|
||||
type: power
|
||||
icon: aten
|
||||
mib_dir:
|
||||
- aten
|
||||
nobulk: true
|
||||
over:
|
||||
- { graph: device_current, text: Current }
|
||||
- { graph: device_voltage, text: Voltage }
|
||||
- { graph: device_power, text: Power }
|
||||
discovery:
|
||||
-
|
||||
sysObjectID: .1.3.6.1.4.1.21317
|
43
includes/definitions/discovery/atenpdu.yaml
Normal file
43
includes/definitions/discovery/atenpdu.yaml
Normal file
@@ -0,0 +1,43 @@
|
||||
mib: ATEN-PE-CFG_int.mib:ATEN-PE-CFG_str.mib
|
||||
modules:
|
||||
sensors:
|
||||
power:
|
||||
options:
|
||||
skip_values_lt: -200
|
||||
data:
|
||||
-
|
||||
oid: ATEN-PE-CFG::outlet
|
||||
value: outletIntegerPower
|
||||
num_oid: '.1.3.6.1.4.1.21317.1.3.2.2.2.2.99.1.4.{{ $index }}'
|
||||
divisor: 1000
|
||||
descr: 'Port {{ $outletName }}'
|
||||
index: 'outletIntegerValueIndex.{{ $index }}'
|
||||
low_limit: 0
|
||||
high_limit: 2400
|
||||
current:
|
||||
options:
|
||||
skip_values_lt: -200
|
||||
data:
|
||||
-
|
||||
oid: ATEN-PE-CFG::outlet
|
||||
value: outletIntegerCurrent
|
||||
num_oid: '.1.3.6.1.4.1.21317.1.3.2.2.2.2.99.1.2.{{ $index }}'
|
||||
divisor: 1000
|
||||
descr: 'Port {{ $outletName }}'
|
||||
index: 'outletIntegerValueIndex.{{ $index }}'
|
||||
low_limit: 0
|
||||
high_limit: 10
|
||||
voltage:
|
||||
options:
|
||||
skip_values_lt: -200
|
||||
data:
|
||||
-
|
||||
oid: ATEN-PE-CFG::outlet
|
||||
value: outletIntegerVoltage
|
||||
num_oid: '.1.3.6.1.4.1.21317.1.3.2.2.2.2.99.1.3.{{ $index }}'
|
||||
divisor: 1000
|
||||
descr: 'Port {{ $outletName }}'
|
||||
index: 'outletIntegerValueIndex.{{ $index }}'
|
||||
low_limit: 190
|
||||
high_limit: 260
|
||||
|
4996
mibs/aten/ATEN-PE-CFG_int.mib
Normal file
4996
mibs/aten/ATEN-PE-CFG_int.mib
Normal file
File diff suppressed because it is too large
Load Diff
5010
mibs/aten/ATEN-PE-CFG_str.mib
Normal file
5010
mibs/aten/ATEN-PE-CFG_str.mib
Normal file
File diff suppressed because it is too large
Load Diff
3072
tests/data/atenpdu.json
Normal file
3072
tests/data/atenpdu.json
Normal file
File diff suppressed because it is too large
Load Diff
1266
tests/snmpsim/atenpdu.snmprec
Normal file
1266
tests/snmpsim/atenpdu.snmprec
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user