mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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. This has been running in two production networks for > 3 months without any issues.
55 lines
1.7 KiB
YAML
55 lines
1.7 KiB
YAML
mib: WAYSTREAM-MIB
|
|
modules:
|
|
sensors:
|
|
temperature:
|
|
data:
|
|
-
|
|
descr: Temperature {{ $index }}
|
|
oid: wsTempEntry
|
|
value: wsTempMeasured
|
|
num_oid: '.1.3.6.1.4.1.9303.4.1.2.1.1.2.{{ $index }}'
|
|
low_warn_limit: wsTempThresholdLow
|
|
warn_limit: wsTempThresholdHigh
|
|
divisor: 100
|
|
|
|
voltage:
|
|
data:
|
|
-
|
|
descr: Voltage {{ $index }}
|
|
oid: wsVoltEntry
|
|
value: wsVoltMeasured
|
|
num_oid: '.1.3.6.1.4.1.9303.4.1.2.2.1.3.{{ $index }}'
|
|
low_warn_limit: wsVoltThresholdLow
|
|
warn_limit: wsVoltThresholdHigh
|
|
divisor: 1000
|
|
skip_values: 0
|
|
|
|
fanspeed:
|
|
data:
|
|
-
|
|
descr: Fan speed {{ $index }}
|
|
oid: wsFanEntry
|
|
value: wsFanRPM
|
|
num_oid: '.1.3.6.1.4.1.9303.4.1.2.3.1.2.{{ $index }}'
|
|
|
|
dbm:
|
|
options:
|
|
divisor: 1000
|
|
skip_values: 0
|
|
data:
|
|
- oid: wsSFPEntry
|
|
descr: Receive power {{ $index }}
|
|
value: wsSFPRXdBmPower
|
|
index: 'wsSFPRXdBmPower.{{ $index }}'
|
|
num_oid: '.1.3.6.1.4.1.9303.4.1.4.1.23.{{ $index }}'
|
|
low_warn_limit: wsSFPRXInputPowNormalLowdBm
|
|
warn_limit: wsSFPRXInputPowNormalHighdBm
|
|
|
|
- oid: wsSFPEntry
|
|
descr: Transmit power {{ $index }}
|
|
value: wsSFPTXdBmPower
|
|
index: 'wsSFPTXdBmPower.{{ $index }}'
|
|
num_oid: '.1.3.6.1.4.1.9303.4.1.4.1.22.{{ $index }}'
|
|
low_warn_limit: wsSFPTXOutputPowNormalLowdBm
|
|
warn_limit: wsSFPTXOutputPowNormalHighdBm
|