Files
Tony MurrayandNeil Lathwood 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

80 lines
3.4 KiB
YAML

mib: IF-MIB:MOXA-IKS6726A-MIB:MOXA-EDSG508E-MIB:MOXA-EDSP510A8POE-MIB
modules:
sensors:
pre-cache:
data:
- oid:
- ifDescr
power:
data:
-
oid: powerConsumption
num_oid: '.1.3.6.1.4.1.8691.7.116.1.10.8.{{ $index }}'
descr: 'Power Consumption'
index: 'powerConsumption.{{ $index }}'
value: powerConsumption
-
oid: powerConsumption
num_oid: '.1.3.6.1.4.1.8691.7.69.1.10.8.{{ $index }}'
descr: 'Power Consumption'
index: 'powerConsumption.{{ $index }}'
value: powerConsumption
-
oid: poePortConsumption
num_oid: '.1.3.6.1.4.1.8691.7.86.1.40.6.1.2.{{ $index }}'
descr: '{{ $ifDescr }} PoE Consumption'
index: 'poePortConsumption.{{ $index }}'
value: poePortConsumption
temperature:
data:
-
oid: sfpTemperature
num_oid: '.1.3.6.1.4.1.8691.7.86.1.10.7.1.3.{{ $index }}'
descr: '{{ $ifDescr }} SFP module temperature'
index: 'sfpTemperature.{{ $index }}'
value: sfpTemperature
voltage:
data:
-
oid: sfpVoltage
num_oid: '.1.3.6.1.4.1.8691.7.86.1.10.7.1.4.{{ $index }}'
descr: '{{ $ifDescr }} SFP module Supply Voltage'
index: 'sfpVoltage.{{ $index }}'
value: sfpVoltage
dbm:
data:
-
oid: sfpTxPower
num_oid: '.1.3.6.1.4.1.8691.7.86.1.10.7.1.5.{{ $index }}'
descr: '{{ $ifDescr }} SFP module Transmit Power'
index: 'sfpTxPower.{{ $index }}'
value: sfpTxPower
-
oid: sfpRXPower
num_oid: '.1.3.6.1.4.1.8691.7.86.1.10.7.1.6.{{ $index }}'
descr: '{{ $ifDescr }} SFP module Receive Power'
index: 'sfpRxPower.{{ $index }}'
value: sfpRXPower
state:
data:
-
oid: power1InputStatus
num_oid: '.1.3.6.1.4.1.8691.7.86.1.10.1.{{ $index }}'
descr: 'Power Input 1 Status'
index: 'powerInputStatus.1'
value: power1InputStatus
state_name: powerInputStatus
states:
- { value: 0, generic: 2, graph: 0, descr: not present }
- { value: 1, generic: 0, graph: 0, descr: present }
-
oid: power2InputStatus
num_oid: '.1.3.6.1.4.1.8691.7.86.1.10.2.{{ $index }}'
descr: 'Power Input 2 Status'
index: 'powerInputStatus.2'
value: power2InputStatus
state_name: powerInputStatus
states:
- { value: 0, generic: 2, graph: 0, descr: not present }
- { value: 1, generic: 0, graph: 0, descr: present }