mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Device: Added IMCO POWER (#11296)
* New device IMCO POWER * Add other outputower sensors * Fix description sensor battery voltage * Fix num_oid load sensors * Index added * Added test data * Fix svg file * Change image svg to png * Fix yaml and change image size * Fix permission .gitignore file * Fix permission * Fix state
This commit is contained in:
113
includes/definitions/discovery/imcopower-big.yaml
Normal file
113
includes/definitions/discovery/imcopower-big.yaml
Normal file
@@ -0,0 +1,113 @@
|
||||
mib: IMCO-BIG-MIB
|
||||
modules:
|
||||
sensors:
|
||||
current:
|
||||
data:
|
||||
-
|
||||
oid: imPm1Power1OutputCurrent
|
||||
num_oid: '.1.3.6.1.4.1.2185.1.3.11.2.1.3.24.{{ $index }}'
|
||||
index: imPm1Power1OutputCurrent.{{ $index }}
|
||||
descr: 'Power1 Current'
|
||||
divisor: 10
|
||||
-
|
||||
oid: imPm1Power2OutputCurrent
|
||||
num_oid: '.1.3.6.1.4.1.2185.1.3.11.2.1.4.24.{{ $index }}'
|
||||
index: imPm1Power2OutputCurrent.{{ $index }}
|
||||
descr: 'Power2 Current'
|
||||
divisor: 10
|
||||
-
|
||||
oid: imPm1Power3OutputCurrent
|
||||
num_oid: '.1.3.6.1.4.1.2185.1.3.11.2.1.5.24.{{ $index }}'
|
||||
index: imPm1Power3OutputCurrent.{{ $index }}
|
||||
descr: 'Power3 Current'
|
||||
divisor: 10
|
||||
charge:
|
||||
data:
|
||||
-
|
||||
oid: imPm1BatLeg1ChargeState
|
||||
num_oid: '.1.3.6.1.4.1.2185.1.3.11.2.1.7.12.{{ $index }}'
|
||||
index: imPm1BatLeg1ChargeState.{{index}}
|
||||
descr: 'Battery Charge'
|
||||
|
||||
load:
|
||||
data:
|
||||
-
|
||||
oid: imPm1Power1OutputLoad
|
||||
num_oid: '.1.3.6.1.4.1.2185.1.3.11.2.1.3.29.{{ $index }}'
|
||||
index: imPm1Power1OutputLoad.{{index}}
|
||||
descr: 'Power1 Load(VA)'
|
||||
-
|
||||
oid: imPm1Power2OutputLoad
|
||||
num_oid: '.1.3.6.1.4.1.2185.1.3.11.2.1.4.29.{{ $index }}'
|
||||
index: imPm1Power2OutputLoad.{{index}}
|
||||
descr: 'Power2 Load(VA)'
|
||||
-
|
||||
oid: imPm1Power3OutputLoad
|
||||
num_oid: '.1.3.6.1.4.1.2185.1.3.11.2.1.5.29.{{ $index }}'
|
||||
index: imPm1Power3OutputLoad.{{index}}
|
||||
descr: 'Power3 Load(VA)'
|
||||
power:
|
||||
data:
|
||||
-
|
||||
oid: imPm1Power1OutputPowerW
|
||||
num_oid: '.1.3.6.1.4.1.2185.1.3.11.2.1.3.27.{{ $index }}'
|
||||
index: imPm1Power1OutputPowerW.{{index}}
|
||||
descr: 'Output Power1'
|
||||
-
|
||||
oid: imPm1Power2OutputPowerW
|
||||
num_oid: '.1.3.6.1.4.1.2185.1.3.11.2.1.4.27.{{ $index }}'
|
||||
index: imPm1Power2OutputPowerW.{{index}}
|
||||
descr: 'Output Power2'
|
||||
-
|
||||
oid: imPm1Power3OutputPowerW
|
||||
num_oid: '.1.3.6.1.4.1.2185.1.3.11.2.1.5.27.{{ $index }}'
|
||||
index: imPm1Power3OutputPowerW.{{index}}
|
||||
descr: 'Output Power3'
|
||||
|
||||
runtime:
|
||||
data:
|
||||
-
|
||||
oid: imPm1BatLeg1Autonomytime
|
||||
num_oid: '.1.3.6.1.4.1.2185.1.3.11.2.1.7.14.{{ $index }}'
|
||||
index: imPm1BatLeg1Autonomytime.{{index}}
|
||||
descr: 'Runtime'
|
||||
state:
|
||||
data:
|
||||
-
|
||||
oid: imPM1BatLeg1Fuse
|
||||
num_oid: '.1.3.6.1.4.1.2185.1.3.11.2.1.7.16.{{ $index }}'
|
||||
index: imPM1BatLeg1Fuse.{{index}}
|
||||
descr: 'Power state'
|
||||
states:
|
||||
- { descr: Battery, graph: 0, value: 1, generic: 2 }
|
||||
- { descr: Online, graph: 0, value: 0, generic: 0 }
|
||||
|
||||
voltage:
|
||||
data:
|
||||
-
|
||||
oid: imPm1Power1OutputVoltage
|
||||
num_oid: '.1.3.6.1.4.1.2185.1.3.11.2.1.3.23.{{ $index }}'
|
||||
index: 'imPm1Power1OutputVoltage.{{ $index }}'
|
||||
descr: 'Power1 Voltage'
|
||||
divisor: 10
|
||||
-
|
||||
oid: imPm1Power2OutputVoltage
|
||||
num_oid: '.1.3.6.1.4.1.2185.1.3.11.2.1.4.23.{{ $index }}'
|
||||
index: 'imPm1Power2OutputVoltage.{{ $index }}'
|
||||
descr: 'Power2 Voltage'
|
||||
divisor: 10
|
||||
-
|
||||
oid: imPm1Power3OutputVoltage
|
||||
num_oid: '.1.3.6.1.4.1.2185.1.3.11.2.1.5.23.{{ $index }}'
|
||||
index: 'imPm1Power3OutputVoltage.{{ $index }}'
|
||||
descr: 'Power3 Voltage'
|
||||
divisor: 10
|
||||
-
|
||||
oid: imPm1BatteryVoltage
|
||||
num_oid: '.1.3.6.1.4.1.2185.1.3.11.2.1.6.2.{{ $index }}'
|
||||
index: 'imPm1BatteryVoltage.{{ $index }}'
|
||||
descr: 'Battery Voltage'
|
||||
divisor: 10
|
||||
|
||||
|
||||
|
69
includes/definitions/discovery/imcopower-ls110.yaml
Normal file
69
includes/definitions/discovery/imcopower-ls110.yaml
Normal file
@@ -0,0 +1,69 @@
|
||||
mib: IMCO-LS110-MIB
|
||||
modules:
|
||||
sensors:
|
||||
temperature:
|
||||
data:
|
||||
-
|
||||
oid: sdsTempSensValue
|
||||
num_oid: '.1.3.6.1.4.1.33283.1.30.5.1.3.{{ $index }}'
|
||||
index: sdsTempSensValue.{{index}}
|
||||
descr: Temperature
|
||||
divisor: 100
|
||||
|
||||
charge:
|
||||
data:
|
||||
-
|
||||
oid: sdsBatteryCapacity
|
||||
num_oid: '.1.3.6.1.4.1.33283.1.30.7.7.{{ $index }}'
|
||||
index: sdsBatteryCapacity.{{index}}
|
||||
descr: 'Battery Charge'
|
||||
divisor: 10
|
||||
|
||||
load:
|
||||
data:
|
||||
-
|
||||
oid: sdsLoad
|
||||
num_oid: '.1.3.6.1.4.1.33283.1.30.7.8.{{ $index }}'
|
||||
index: sdsLoad.{{index}}
|
||||
descr: 'Load(VA)'
|
||||
divisor: 10
|
||||
|
||||
|
||||
state:
|
||||
data:
|
||||
-
|
||||
oid: opto3
|
||||
num_oid: '.1.3.6.1.4.1.33283.1.30.2.3.{{ $index }}'
|
||||
index: opto3.{{index}}
|
||||
descr: 'Power state'
|
||||
states:
|
||||
- { descr: Battery, graph: 0, value: 2, generic: 2 }
|
||||
- { descr: Online, graph: 0, value: 0, generic: 0 }
|
||||
|
||||
|
||||
|
||||
voltage:
|
||||
data:
|
||||
-
|
||||
oid: sdsOutputVoltage1
|
||||
num_oid: '.1.3.6.1.4.1.33283.1.30.7.4.{{ $index }}'
|
||||
index: 'sdsOutputVoltage1.{{ $index }}'
|
||||
descr: 'Voltage1'
|
||||
divisor: 100
|
||||
-
|
||||
oid: sdsOutputVoltage2
|
||||
num_oid: '.1.3.6.1.4.1.33283.1.30.7.5.{{ $index }}'
|
||||
index: 'sdsOutputVoltage2.{{ $index }}'
|
||||
descr: 'Voltage2'
|
||||
divisor: 100
|
||||
skip_values: -9999999
|
||||
|
||||
current:
|
||||
data:
|
||||
-
|
||||
oid: sdsOutputCurrent
|
||||
num_oid: '.1.3.6.1.4.1.33283.1.30.7.6.{{ $index }}'
|
||||
index: 'sdsOutputCurrent.{{ $index }}'
|
||||
descr: 'Current'
|
||||
divisor: 10
|
||||
|
10
includes/definitions/imcopower-big.yaml
Normal file
10
includes/definitions/imcopower-big.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
os: imcopower-big
|
||||
text: 'Imco Power'
|
||||
type: power
|
||||
icon: imco
|
||||
group: IMCO POWER
|
||||
discovery:
|
||||
- sysObjectID:
|
||||
- .1.3.6.1.4.1.818.32.4
|
||||
mib_dir:
|
||||
- imco
|
10
includes/definitions/imcopower-ls110.yaml
Normal file
10
includes/definitions/imcopower-ls110.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
os: imcopower-ls110
|
||||
text: 'Imco Power LS110'
|
||||
type: power
|
||||
icon: imco
|
||||
group: IMCO POWER
|
||||
discovery:
|
||||
- sysObjectID:
|
||||
- .1.3.6.1.4.1.33283.1
|
||||
mib_dir:
|
||||
- imco
|
Reference in New Issue
Block a user