Tony Murray 1d48cf7db2 Discovery YAML. Do not implicitly append $index (#9315)
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.
2018-11-10 23:45:24 +00:00

211 lines
12 KiB
YAML

mib: PM-MIB
modules:
sensors:
voltage:
options:
skip_values: 0
data:
-
oid: pmPowerMgmtPDUTable
num_oid: '.1.3.6.1.4.1.10418.17.2.5.3.1.70.{{ $index }}'
value: pmPowerMgmtPDUTableVoltageValue
descr: PDU
index: 'pmPowerMgmtPDUTableVoltageValue.{{ $index }}'
-
oid: pmPowerMgmtOutletsTable
num_oid: '.1.3.6.1.4.1.10418.17.2.5.5.1.70.{{ $index }}'
value: pmPowerMgmtOutletsTableVoltageValue
descr: 'Outlet {{ $pmPowerMgmtOutletsTableName }}'
index: 'pmPowerMgmtOutletsTableName.{{ $index }}'
-
oid: pmPowerMgmtPhasesTable
num_oid: '.1.3.6.1.4.1.10418.17.2.5.9.1.70.{{ $index }}'
value: pmPowerMgmtPhasesTableVoltageValue
descr: 'Phase {{ $pmPowerMgmtPhasesTableName }}'
index: 'pmPowerMgmtPhasesTableVoltageValue.{{ $index }}'
-
oid: pmPowerMgmtBanksTable
num_oid: '.1.3.6.1.4.1.10418.17.2.5.11.1.70.{{ $index }}'
value: pmPowerMgmtBanksTableVoltageValue
descr: 'Bank {{ $pmPowerMgmtBanksTableName }}'
index: 'pmPowerMgmtBanksTableVoltageValue.{{ $index }}'
power:
options:
divisor: 10
skip_values: 0
data:
-
oid: pmPowerMgmtPDUTable
num_oid: '.1.3.6.1.4.1.10418.17.2.5.3.1.60.{{ $index }}'
value: pmPowerMgmtPDUTablePowerValue
descr: PDU
index: 'pmPowerMgmtPDUTablePowerValue.{{ $index }}'
-
oid: pmPowerMgmtOutletsTable
num_oid: '.1.3.6.1.4.1.10418.17.2.5.5.1.60.{{ $index }}'
value: pmPowerMgmtOutletsTablePowerValue
descr: 'Outlet {{ $pmPowerMgmtOutletsTableName }}'
index: 'pmPowerMgmtOutletsTablePowerValue.{{ $index }}'
-
oid: pmPowerMgmtPhasesTable
num_oid: '.1.3.6.1.4.1.10418.17.2.5.9.1.60.{{ $index }}'
value: pmPowerMgmtPhasesTablePowerValue
descr: 'Phase {{ $pmPowerMgmtPhasesTableName }}'
index: 'pmPowerMgmtPhasesTablePowerValue.{{ $index }}'
-
oid: pmPowerMgmtBanksTable
num_oid: '.1.3.6.1.4.1.10418.17.2.5.11.1.60.{{ $index }}'
value: pmPowerMgmtBanksTablePowerValue
descr: 'Bank {{ $pmPowerMgmtBanksTableName }}'
index: ' pmPowerMgmtBanksTablePowerValue.{{ $index }}'
current:
options:
divisor: 10
skip_values: 0
data:
-
oid: pmPowerMgmtPDUTable
num_oid: '.1.3.6.1.4.1.10418.17.2.5.3.1.10.{{ $index }}'
value: pmPowerMgmtPDUTableCurrent1Value
descr: Current #1
index: 'pmPowerMgmtPDUTableCurrent1Value.{{ $index }}'
low_limit: pmPowerMgmtPDUTableCurrentLowCritical
low_warn_limit: pmPowerMgmtPDUTableCurrentLowWarning
warn_limit: pmPowerMgmtPDUTableCurrentHighWarning
high_limit: pmPowerMgmtPDUTableCurrentHighCritical
-
oid: pmPowerMgmtPDUTable
num_oid: '.1.3.6.1.4.1.10418.17.2.5.3.1.12.{{ $index }}'
value: pmPowerMgmtPDUTableCurrent2Value
descr: Current #2
index: 'pmPowerMgmtPDUTableCurrent2Value.{{ $index }}'
low_limit: pmPowerMgmtPDUTableCurrentLowCritical
low_warn_limit: pmPowerMgmtPDUTableCurrentLowWarning
warn_limit: pmPowerMgmtPDUTableCurrentHighWarning
high_limit: pmPowerMgmtPDUTableCurrentHighCritical
-
oid: pmPowerMgmtPDUTable
num_oid: '.1.3.6.1.4.1.10418.17.2.5.3.1.14.{{ $index }}'
value: pmPowerMgmtPDUTableCurrent3Value
descr: Current #3
index: 'pmPowerMgmtPDUTableCurrent3Value.{{ $index }}'
low_limit: pmPowerMgmtPDUTableCurrentLowCritical
low_warn_limit: pmPowerMgmtPDUTableCurrentLowWarning
warn_limit: pmPowerMgmtPDUTableCurrentHighWarning
high_limit: pmPowerMgmtPDUTableCurrentHighCritical
-
oid: pmPowerMgmtOutletsTable
num_oid: '.1.3.6.1.4.1.10418.17.2.5.5.1.50.{{ $index }}'
value: pmPowerMgmtOutletsTableCurrentValue
descr: 'Outlet {{ $pmPowerMgmtOutletsTableName }}'
index: 'pmPowerMgmtOutletsTableCurrentValue.{{ $index }}'
low_limit: pmPowerMgmtOutletsTableCurrentLowCritical
low_warn_limit: pmPowerMgmtOutletsTableCurrentLowWarning
warn_limit: pmPowerMgmtOutletsTableCurrentHighWarning
high_limit: pmPowerMgmtOutletsTableCurrentHighCritical
-
oid: pmPowerMgmtPhasesTable
num_oid: '.1.3.6.1.4.1.10418.17.2.5.9.1.50.{{ $index }}'
value: pmPowerMgmtPhasesTableCurrentValue
descr: 'Phase {{ $pmPowerMgmtPhasesTableName }}'
index: 'pmPowerMgmtPhasesTableCurrentValue.{{ $index }}'
low_limit: pmPowerMgmtPhasesTableCurrentLowCritical
low_warn_limit: pmPowerMgmtPhasesTableCurrentLowWarning
warn_limit: pmPowerMgmtPhasesTableCurrentHighWarning
high_limit: pmPowerMgmtPhasesTableCurrentHighCritical
-
oid: pmPowerMgmtBanksTable
num_oid: '.1.3.6.1.4.1.10418.17.2.5.11.1.50.{{ $index }}'
value: pmPowerMgmtBanksTableCurrentValue
descr: 'Bank {{ $pmPowerMgmtBanksTableName }}'
index: ' pmPowerMgmtBanksTableCurrentValue.{{ $index }}'
low_limit: pmPowerMgmtBanksTableCurrentLowCritical
low_warn_limit: pmPowerMgmtBanksTableCurrentLowWarning
warn_limit: pmPowerMgmtBanksTableCurrentHighWarning
high_limit: pmPowerMgmtBanksTableCurrentHighCritical
temperature:
options:
divisor: 10
skip_values: 0
data:
-
oid: pmPowerMgmtPDUTable
num_oid: '.1.3.6.1.4.1.10418.17.2.5.3.1.17.{{ $index }}'
value: pmPowerMgmtPDUTableTemperature1Value
descr: Temp #1
index: 'pmPowerMgmtPDUTableTemperature1Value.{{ $index }}'
-
oid: pmPowerMgmtPDUTable
num_oid: '.1.3.6.1.4.1.10418.17.2.5.3.1.19.{{ $index }}'
value: pmPowerMgmtPDUTableTemperature2Value
descr: Temp #2
index: 'pmPowerMgmtPDUTableTemperature2Value.{{ $index }}'
-
oid: pmPowerMgmtPDUTable
num_oid: '.1.3.6.1.4.1.10418.17.2.5.3.1.19.{{ $index }}'
value: pmPowerMgmtPDUTableTemperature3Value
descr: Temp #3
index: 'pmPowerMgmtPDUTableTemperature3Value.{{ $index }}'
state:
data:
-
oid: pmPowerMgmtPDUTable
num_oid: '.1.3.6.1.4.1.10418.17.2.5.3.1.45.{{ $index }}'
value: pmPowerMgmtPDUTableAlarm
descr: PDU
index: 'pmPowerMgmtPDUTableAlarm.{{ $index }}'
state_name: pmPowerMgmtPDUTableAlarm
states:
- { value: 1, generic: 0, graph: 1, descr: normal }
- { value: 2, generic: 2, graph: 1, descr: blow-fuse }
- { value: 3, generic: 1, graph: 1, descr: hw-ocp }
- { value: 4, generic: 2, graph: 1, descr: high-critical }
- { value: 5, generic: 1, graph: 1, descr: high-warning }
- { value: 6, generic: 1, graph: 1, descr: low-warning }
- { value: 7, generic: 2, graph: 1, descr: low-critical }
-
oid: pmPowerMgmtOutletsTable
num_oid: '.1.3.6.1.4.1.10418.17.2.5.5.1.45.{{ $index }}'
value: pmPowerMgmtOutletsTableAlarm
descr: 'Outlet {{ $pmPowerMgmtOutletsTableName }}'
index: 'pmPowerMgmtOutletsTableAlarm.{{ $index }}'
state_name: pmPowerMgmtOutletsTableAlarm
states:
- { value: 1, generic: 0, graph: 1, descr: normal }
- { value: 2, generic: 2, graph: 1, descr: blow-fuse }
- { value: 3, generic: 1, graph: 1, descr: hw-ocp }
- { value: 4, generic: 2, graph: 1, descr: high-critical }
- { value: 5, generic: 1, graph: 1, descr: high-warning }
- { value: 6, generic: 1, graph: 1, descr: low-warning }
- { value: 7, generic: 2, graph: 1, descr: low-critical }
-
oid: pmPowerMgmtPhasesTable
num_oid: '.1.3.6.1.4.1.10418.17.2.5.9.1.45.{{ $index }}'
value: pmPowerMgmtPhasesTableAlarm
descr: 'Phase {{ $pmPowerMgmtPhasesTableName }}'
index: 'pmPowerMgmtPhasesTableAlarm.{{ $index }}'
state_name: pmPowerMgmtPhasesTableAlarm
states:
- { value: 1, generic: 0, graph: 1, descr: normal }
- { value: 2, generic: 2, graph: 1, descr: blow-fuse }
- { value: 3, generic: 1, graph: 1, descr: hw-ocp }
- { value: 4, generic: 2, graph: 1, descr: high-critical }
- { value: 5, generic: 1, graph: 1, descr: high-warning }
- { value: 6, generic: 1, graph: 1, descr: low-warning }
- { value: 7, generic: 2, graph: 1, descr: low-critical }
-
oid: pmPowerMgmtBanksTable
num_oid: '.1.3.6.1.4.1.10418.17.2.5.11.1.45.{{ $index }}'
value: pmPowerMgmtBanksTableAlarm
descr: 'Bank {{ $pmPowerMgmtBanksTableName }}'
index: 'pmPowerMgmtBanksTableAlarm.{{ $index }}'
state_name: pmPowerMgmtBanksTableAlarm
states:
- { value: 1, generic: 0, graph: 1, descr: normal }
- { value: 2, generic: 2, graph: 1, descr: blow-fuse }
- { value: 3, generic: 1, graph: 1, descr: hw-ocp }
- { value: 4, generic: 2, graph: 1, descr: high-critical }
- { value: 5, generic: 1, graph: 1, descr: high-warning }
- { value: 6, generic: 1, graph: 1, descr: low-warning }
- { value: 7, generic: 2, graph: 1, descr: low-critical }