mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Require it explicitly. Makes it easier to understand and matches the style of other values Questionable YAML changes (either broken before or now broken): secureplatform: haStatCode ptp600: receiveModulationMode DO NOT DELETE THIS TEXT #### Please note > Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting. - [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/) #### Testers If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926` After you are done testing, you can remove the changes with `./scripts/github-remove`. If there are schema changes, you can ask on discord how to revert.
97 lines
4.6 KiB
YAML
97 lines
4.6 KiB
YAML
mib: DellrPDU-MIB
|
|
modules:
|
|
sensors:
|
|
pre-cache:
|
|
data:
|
|
- oid:
|
|
- rPDUOutletMeteredStatusName
|
|
current:
|
|
data:
|
|
-
|
|
oid: rPDUOutletMeteredStatusCurrent
|
|
num_oid: '.1.3.6.1.4.1.674.10903.200.2.200.130.2.2.1.6.{{ $index }}'
|
|
index: 'rPDUOutletMeteredStatusIndex.{{ $index }}'
|
|
descr: Outlet, {{ $rPDUOutletMeteredStatusName }}, Current
|
|
divisor: 0
|
|
-
|
|
oid: rPDUPhaseStatusCurrent
|
|
num_oid: '.1.3.6.1.4.1.674.10903.200.2.200.120.2.1.4.{{ $index }}'
|
|
index: 'rPDUPhaseStatusIndex.{{ $index }}'
|
|
descr: 'Current, Phase #{{ $index }}'
|
|
divisor: 10
|
|
power:
|
|
data:
|
|
-
|
|
oid: rPDUOutletMeteredStatusPower
|
|
num_oid: '.1.3.6.1.4.1.674.10903.200.2.200.130.2.2.1.8.{{ $index }}'
|
|
index: 'rPDUOutletMeteredStatusIndex.{{ $index }}'
|
|
descr: Outlet, {{ $rPDUOutletMeteredStatusName }}, Power
|
|
divisor: 0
|
|
-
|
|
oid: rPDUPhaseStatusPower
|
|
num_oid: '.1.3.6.1.4.1.674.10903.200.2.200.120.2.1.6.{{ $index }}'
|
|
index: 'rPDUPhaseStatusIndex.{{ $index }}'
|
|
descr: 'Power, Phase #{{ $index }}'
|
|
divisor: 0
|
|
multiplier: 10
|
|
voltage:
|
|
data:
|
|
-
|
|
oid: rPDUPhaseStatusVoltage
|
|
num_oid: '.1.3.6.1.4.1.674.10903.200.2.200.120.2.1.5.{{ $index }}'
|
|
index: 'rPDUPhaseStatusIndex.{{ $index }}'
|
|
descr: 'Voltage, Phase #{{ $index }}'
|
|
divisor: 0
|
|
state:
|
|
data:
|
|
-
|
|
oid: rPDUOutMeteredStatusLoadState
|
|
num_oid: '.1.3.6.1.4.1.674.10903.200.2.200.130.2.2.1.11.{{ $index }}'
|
|
descr: Outlet, {{ $rPDUOutletMeteredStatusName }}, Load
|
|
index: 'rPDUOutletMeteredStatusIndex.{{ $index }}'
|
|
state_name: rPDUOutMeteredStatusLoadState
|
|
states:
|
|
- { descr: lowLoad, graph: 1, value: 1, generic: 0 }
|
|
- { descr: normal, graph: 1, value: 2, generic: 0 }
|
|
- { descr: nearOverload, graph: 1, value: 3, generic: 1 }
|
|
- { descr: overload, graph: 1, value: 4, generic: 2 }
|
|
-
|
|
oid: rPDUPhaseStatusTable
|
|
state_name: rPDUPhaseStatusLoadState
|
|
value: rPDUPhaseStatusLoadState
|
|
num_oid: '.1.3.6.1.4.1.674.10903.200.2.200.120.2.1.3.{{ $index }}'
|
|
index: 'rPDUPhaseStatusLoadState.{{ $index }}'
|
|
descr: 'Load State, Phase #{{ $index }}'
|
|
states:
|
|
- { descr: lowLoad, graph: 1, value: 1, generic: 0 }
|
|
- { descr: normal, graph: 1, value: 2, generic: 0 }
|
|
- { descr: nearOverload, graph: 1, value: 3, generic: 1 }
|
|
- { descr: overload, graph: 1, value: 4, generic: 2 }
|
|
-
|
|
oid: rPDUDeviceStatusTable
|
|
state_name: rPDUDeviceStatusLoadState
|
|
value: rPDUDeviceStatusLoadState
|
|
num_oid: '.1.3.6.1.4.1.674.10903.200.2.200.110.2.1.6.{{ $index }}'
|
|
index: 'rPDUDeviceStatusLoadState.{{ $index }}'
|
|
descr: 'Device State'
|
|
states:
|
|
- { descr: lowLoad, graph: 1, value: 1, generic: 0 }
|
|
- { descr: normal, graph: 1, value: 2, generic: 0 }
|
|
- { descr: nearOverload, graph: 1, value: 3, generic: 1 }
|
|
- { descr: overload, graph: 1, value: 4, generic: 2 }
|
|
temperature:
|
|
data:
|
|
-
|
|
oid: rPDUSensorTempStatusTempC
|
|
num_oid: '.1.3.6.1.4.1.674.10903.200.2.200.150.2.2.1.5.{{ $index }}'
|
|
index: 'rPDUSensorTempStatusTempC.{{ $index }}'
|
|
descr: 'Temperature'
|
|
divisor: 10
|
|
humidity:
|
|
data:
|
|
-
|
|
oid: rPDUSnsorHumStatRelativeHumdity
|
|
num_oid: '.1.3.6.1.4.1.674.10903.200.2.200.150.3.2.1.4.{{ $index }}'
|
|
index: 'rPDUSnsorHumStatRelativeHumdity .{{ $index }}'
|
|
descr: 'Humidity'
|