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

69 lines
4.0 KiB
YAML

mib: DELL-RAC-MIB:IDRAC-MIB-SMIv2
modules:
sensors:
state:
data:
-
oid: drsGlobalSystemStatus
value: drsGlobalSystemStatus
num_oid: '.1.3.6.1.4.1.674.10892.2.2.1.{{ $index }}'
descr: 'Global System Status'
index: 'drsGlobalSystemStatus.{{ $index }}'
states:
- { value: 1, descr: other, graph: 1, generic: 3 }
- { value: 2, descr: unknown, graph: 1, generic: 3 }
- { value: 3, descr: ok, graph: 1, generic: 0 }
- { value: 4, descr: nonCritical, graph: 1, generic: 1 }
- { value: 5, descr: critical, graph: 1, generic: 2 }
- { value: 6, descr: nonRecoverable, graph: 1, generic: 2 }
-
oid: systemStateIDSDMCardUnitStatusCombined
value: systemStateIDSDMCardUnitStatusCombined
num_oid: '.1.3.6.1.4.1.674.10892.5.4.200.10.1.58.{{ $index }}'
descr: 'IDSDM Card Unit Combined Status'
index: 'systemStateIDSDMCardUnitStatusCombined.{{ $index }}'
states:
- { value: 1, descr: other, graph: 1, generic: 3 }
- { value: 2, descr: unknown, graph: 1, generic: 3 }
- { value: 3, descr: ok, graph: 1, generic: 0 }
- { value: 4, descr: nonCritical, graph: 1, generic: 1 }
- { value: 5, descr: critical, graph: 1, generic: 2 }
- { value: 6, descr: nonRecoverable, graph: 1, generic: 2 }
-
oid: systemStateIDSDMCardDeviceStatusCombined
value: systemStateIDSDMCardDeviceStatusCombined
num_oid: '.1.3.6.1.4.1.674.10892.5.4.200.10.1.60.{{ $index }}'
descr: 'IDSDM Card Device Combined Status'
index: 'systemStateIDSDMCardDeviceStatusCombined.{{ $index }}'
states:
- { value: 1, descr: other, graph: 1, generic: 3 }
- { value: 2, descr: unknown, graph: 1, generic: 3 }
- { value: 3, descr: ok, graph: 1, generic: 0 }
- { value: 4, descr: nonCritical, graph: 1, generic: 1 }
- { value: 5, descr: critical, graph: 1, generic: 2 }
- { value: 6, descr: nonRecoverable, graph: 1, generic: 2 }
-
oid: intrusionStatus
value: intrusionStatus
num_oid: '.1.3.6.1.4.1.674.10892.5.4.300.70.1.5.{{ $index }}'
descr: 'Intrusion Status'
index: 'intrusionStatus.{{ $index }}'
states:
- { value: 1, descr: other, graph: 1, generic: 3 }
- { value: 2, descr: unknown, graph: 1, generic: 3 }
- { value: 3, descr: ok, graph: 1, generic: 0 }
- { value: 4, descr: nonCritical, graph: 1, generic: 1 }
- { value: 5, descr: critical, graph: 1, generic: 2 }
- { value: 6, descr: nonRecoverable, graph: 1, generic: 2 }
-
oid: intrusionReading
value: intrusionReading
num_oid: '.1.3.6.1.4.1.674.10892.5.4.300.70.1.6.{{ $index }}'
descr: 'Intrusion Reading'
index: 'intrusionReading.{{ $index }}'
states:
- { value: 1, descr: chassisNotBreached, graph: 1, generic: 0 }
- { value: 2, descr: chassisBreached, graph: 1, generic: 2 }
- { value: 3, descr: chassisBreachedPrior, graph: 1, generic: 1 }
- { value: 4, descr: chassisBreachSensorFailure, graph: 1, generic: 1 }