mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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.
46 lines
2.1 KiB
YAML
46 lines
2.1 KiB
YAML
mib: SIXNET-MIB
|
|
modules:
|
|
sensors:
|
|
state:
|
|
data:
|
|
-
|
|
oid: p1status
|
|
num_oid: '.1.3.6.1.4.1.20540.2.1.1.1.{{ $index }}'
|
|
descr: 'Power Supply #1'
|
|
index: 'p1status.{{ $index }}'
|
|
state_name: p1status
|
|
states:
|
|
- { value: 0, generic: 2, graph: 1, descr: Off }
|
|
- { value: 1, generic: 0, graph: 1, descr: On }
|
|
- { value: 2, generic: 3, graph: 1, descr: Unknown }
|
|
-
|
|
oid: p2status
|
|
num_oid: '.1.3.6.1.4.1.20540.2.1.1.2.{{ $index }}'
|
|
descr: 'Power Supply #2'
|
|
index: 'p2status.{{ $index }}'
|
|
state_name: p2status
|
|
states:
|
|
- { value: 0, generic: 2, graph: 1, descr: Off }
|
|
- { value: 1, generic: 0, graph: 1, descr: On }
|
|
- { value: 2, generic: 3, graph: 1, descr: Unknown }
|
|
-
|
|
oid: oKstatus
|
|
num_oid: '.1.3.6.1.4.1.20540.2.1.1.3.{{ $index }}'
|
|
descr: 'Ok Relay'
|
|
index: 'oKstatus.{{ $index }}'
|
|
state_name: oKstatus
|
|
states:
|
|
- { value: 0, generic: 2, graph: 1, descr: Off }
|
|
- { value: 1, generic: 0, graph: 1, descr: On }
|
|
- { value: 2, generic: 3, graph: 1, descr: Unknown }
|
|
-
|
|
oid: fromPLCstatus
|
|
num_oid: '.1.3.6.1.4.1.20540.2.1.1.7.{{ $index }}'
|
|
descr: 'PLC Input'
|
|
index: 'fromPLCstatus.{{ $index }}'
|
|
state_name: fromPLCstatus
|
|
states:
|
|
- { value: 0, generic: 2, graph: 1, descr: Off }
|
|
- { value: 1, generic: 0, graph: 1, descr: On }
|
|
- { value: 2, generic: 3, graph: 1, descr: Unknown }
|