Files
librenms-librenms/includes/definitions/discovery/awplus.yaml
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

91 lines
4.3 KiB
YAML

mib: AT-ENVMONv2-MIB:AT-SYSINFO-MIB
modules:
processors:
data:
-
oid: cpuUtilisationStackEntry
value: cpuUtilisationStackAvgLastMinute
num_oid: '.1.3.6.1.4.1.207.8.4.4.3.3.8.1.4.{{ $index }}'
descr: 'Processor {{ $index }}'
sensors:
fanspeed:
options:
skip_values: 0
data:
-
oid: atEnvMonv2FanTable
value: atEnvMonv2FanCurrentSpeed
num_oid: '.1.3.6.1.4.1.207.8.4.4.3.12.1.1.5.{{ $index }}'
descr: atEnvMonv2FanDescription
index: 'atEnvMonv2FanIndex.{{ $index }}'
low_limit: atEnvMonv2FanLowerThreshold
voltage:
data:
-
oid: atEnvMonv2VoltageTable
value: atEnvMonv2VoltageCurrent
num_oid: '.1.3.6.1.4.1.207.8.4.4.3.12.2.1.5.{{ $index }}'
descr: atEnvMonv2VoltageDescription
index: 'atEnvMonv2VoltageIndex.{{ $index }}'
divisor: 1000
low_limit: atEnvMonv2VoltageLowerThreshold
high_limit: atEnvMonv2VoltageUpperThreshold
temperature:
options:
skip_values: [128, -128]
data:
-
oid: atEnvMonv2TemperatureTable
value: atEnvMonv2TemperatureCurrent
num_oid: '.1.3.6.1.4.1.207.8.4.4.3.12.3.1.5.{{ $index }}'
descr: atEnvMonv2TemperatureDescription
index: 'atEnvMonv2TemperatureIndex.{{ $index }}'
high_limit: atEnvMonv2TemperatureUpperThreshold
state:
data:
-
oid: atEnvMonv2FanTable
value: atEnvMonv2FanStatus
num_oid: '.1.3.6.1.4.1.207.8.4.4.3.12.1.1.7.{{ $index }}'
descr: atEnvMonv2FanDescription
index: 'atEnvMonv2FanIndex.{{ $index }}'
state_name: 'AtFanState'
states:
- { descr: 'null', graph: 0, value: -1, generic: 3 }
- { descr: failed, graph: 0, value: 1, generic: 2 }
- { descr: good, graph: 0, value: 2, generic: 0 }
-
oid: atEnvMonv2VoltageTable
value: atEnvMonv2VoltageStatus
num_oid: '.1.3.6.1.4.1.207.8.4.4.3.12.2.1.8.{{ $index }}'
descr: atEnvMonv2VoltageDescription
index: 'atEnvMonv2VoltageIndex.{{ $index }}'
state_name: 'AtVoltageState'
states:
- { descr: 'null', graph: 0, value: -1, generic: 3 }
- { descr: outOfRange, graph: 0, value: 1, generic: 2 }
- { descr: inRange, graph: 0, value: 2, generic: 0 }
-
oid: atEnvMonv2TemperatureTable
value: atEnvMonv2TemperatureStatus
num_oid: '.1.3.6.1.4.1.207.8.4.4.3.12.3.1.7.{{ $index }}'
descr: atEnvMonv2TemperatureDescription
index: 'atEnvMonv2TemperatureIndex.{{ $index }}'
state_name: 'AtTemperatureState'
states:
- { descr: 'null', graph: 0, value: -1, generic: 3 }
- { descr: outOfRange, graph: 0, value: 1, generic: 2 }
- { descr: inRange, graph: 0, value: 2, generic: 0 }
-
oid: atEnvMonv2PsbSensorTable
value: atEnvMonv2PsbSensorStatus
num_oid: '.1.3.6.1.4.1.207.8.4.4.3.12.4.2.1.6.{{ $index }}'
descr: atEnvMonv2PsbSensorDescription
index: 'atEnvMonv2PsbSensorIndex.{{ $index }}'
state_name: 'AtPowerSupplyState'
states:
- { descr: 'null', graph: 0, value: -1, generic: 3 }
- { descr: failed, graph: 0, value: 1, generic: 2 }
- { descr: good, graph: 0, value: 2, generic: 0 }
- { descr: notPowered, graph: 0, value: 3, generic: 3 }