Add Eaton SC200 OS model (#13978)

* Add Eaton SC200 OS model

* Remove module disables from eaton-sc200 model
This commit is contained in:
Simon Lockhart 2022-05-12 14:04:19 +01:00 committed by GitHub
parent 7b08a58e8b
commit 7d3ca73394
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 10943 additions and 0 deletions

View File

@ -0,0 +1,153 @@
mib: RPS-SC200-MIB
modules:
os:
hardware:
- RPS-SC200-MIB::system-Type.0
serial:
- RPS-SC200-MIB::system-Serial-Number.0
- RPS-SC200-MIB::serial-Number.0
serial_template: 'System:{{ RPS-SC200-MIB::system-Serial-Number.0 }} Product:{{ RPS-SC200-MIB::serial-Number.0 }}'
version:
- RPS-SC200-MIB::hardware-Version.0
- RPS-SC200-MIB::software-Version.0
version_template: 'HW:{{ RPS-SC200-MIB::hardware-Version.0 }} SW:{{ RPS-SC200-MIB::software-Version.0 }}'
sensors:
voltage:
data:
-
oid: ac-Voltage
num_oid: '.1.3.6.1.4.1.1918.2.13.10.40.10.{{ $index }}'
descr: 'Average Input Voltage'
index: 'acavg.{{ $index }}'
-
oid: rectifier-Values-Table
value: rectifier-Reported-AC-Voltage
num_oid: '.1.3.6.1.4.1.1918.2.13.10.60.30.1.90.{{ $index }}'
descr: 'Rect {{ $index }} AC Voltage'
index: 'ac.{{ $index }}'
skip_values:
-
oid: rectifier-Serial-Number
op: '=='
value: "0"
-
oid: bus-Voltage
num_oid: '.1.3.6.1.4.1.1918.2.13.10.70.10.20.{{ $index }}'
divisor: 100
descr: 'Bus Voltage'
index: 'bus.{{ $index }}'
low_limit: minimum-System-Voltage
low_warn_limit: minimum-System-Voltage
warn_limit: maximum-System-Voltage
high_limit: maximum-System-Voltage
-
oid: rectifier-Values-Table
value: rectifier-Reported-Voltage
num_oid: '.1.3.6.1.4.1.1918.2.13.10.60.30.1.95.{{ $index }}'
descr: 'Rect {{ $index }} DC Voltage'
index: 'dc.{{ $index }}'
divisor: 100
low_limit: 0
low_warn_limit: 0
warn_limit: rectifier-Minimum-OVSD-Set-Point
high_limit: rectifier-Maximum-OVSD-Set-Point
skip_values:
-
oid: rectifier-Serial-Number
op: '=='
value: "0"
power:
data:
-
oid: load-Power
num_oid: '.1.3.6.1.4.1.1918.2.13.10.50.30.{{ $index }}'
descr: 'Total Power'
multiplier: 10
index: 'totalPower.{{ $index }}'
current:
data:
-
oid: battery-Current
num_oid: '.1.3.6.1.4.1.1918.2.13.10.100.40.{{ $index }}'
descr: 'Battery Current'
index: 'battery-Current.{{ $index }}'
-
oid: load-Current
num_oid: '.1.3.6.1.4.1.1918.2.13.10.50.10.{{ $index }}'
descr: 'Total Load Current'
-
oid: rectifier-Values-Table
value: rectifier-Reported-Current
num_oid: '.1.3.6.1.4.1.1918.2.13.10.60.30.1.100.{{ $index }}'
descr: 'Rect {{ $index }} Current'
skip_values:
-
oid: rectifier-Serial-Number
op: '=='
value: "0"
load:
data:
-
oid: system-Power
num_oid: '.1.3.6.1.4.1.1918.2.13.10.50.20.{{ $index }}'
descr: 'Total Load'
index: 'totalLoad.{{ $index }}'
-
oid: rectifier-Values-Table
value: rectifier-Output-Power
num_oid: '.1.3.6.1.4.1.1918.2.13.10.60.30.1.105.{{ $index }}'
descr: 'Rect {{ $index }} Load'
index: 'rectLoad.{{ $index }}'
divisor: 10
skip_values:
-
oid: rectifier-Serial-Number
op: '=='
value: "0"
temperature:
data:
-
oid: battery-Temperature
num_oid: '.1.3.6.1.4.1.1918.2.13.10.100.30.{{ $index }}'
descr: 'Battery Temperature'
index: 'battery-Temperature.{{ $index }}'
-
oid: highest-Rectifier-Heatsink-Temperature
num_oid: '.1.3.6.1.4.1.1918.2.13.10.60.29.{{ $index }}'
descr: 'Highest Rectifier Heatsink Temperature'
index: 'highestRectTemp.{{ $index }}'
-
oid: rectifier-Values-Table
value: rectifier-Heatsink-Temperature
num_oid: '.1.3.6.1.4.1.1918.2.13.10.60.30.1.110.{{ $index }}'
descr: 'Rect {{ $index }} Temperature'
index: 'rectTemp.{{ $index }}'
skip_values:
-
oid: rectifier-Serial-Number
op: '=='
value: "0"
state:
data:
-
oid: digital-Input-Table
value: di-State
num_oid: '.1.3.6.1.4.1.1918.2.13.10.90.40.1.20.{{ $index }}'
descr: '{{ $di-Name }}'
index: 'di.{{ $index }}'
states:
- { descr: 'OK', graph: 0, value: 0, generic: 0 }
- { descr: 'Warning', graph: 0, value: 1, generic: 1 }
- { descr: 'Major', graph: 0, value: 2, generic: 2 }
- { descr: 'Minor', graph: 0, value: 3, generic: 2 }
- { descr: 'Reserved',graph: 0, value: 4, generic: 3 }
- { descr: 'Critical',graph: 0, value: 5, generic: 2 }
- { descr: 'Control', graph: 0, value: 6, generic: 3 }
skip_values:
-
oid: di-Status
op: '=='
value: "0"

View File

@ -0,0 +1,12 @@
os: eaton-sc200
text: 'Eaton SC200 Controller'
type: power
icon: eaton
snmp_bulk: false
over:
- { graph: device_current, text: Load }
- { graph: device_voltage, text: Voltage }
mib_dir: eaton
discovery:
-
sysObjectID: .1.3.6.1.4.1.1918.2.13

5104
mibs/eaton/RPS-SC200-MIB Normal file

File diff suppressed because it is too large Load Diff

1279
tests/data/eaton-sc200.json Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff