mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
- Added port discovery for cmm3 (not available for cmm4, not that i could find) - Added discovery for cmm4 - Added Power port cmm4 - Removed Processor bug by disabling processor on device. I am unable to test CMM4 and may need someone to do so or review for possible errors. Fixes Issues #8732, #8731 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`
14 lines
614 B
YAML
14 lines
614 B
YAML
modules:
|
|
sensors:
|
|
state:
|
|
data:
|
|
-
|
|
oid: CMM4-MIB::cmm4PortPowerStatus
|
|
value: cmm4PortPowerStatus
|
|
num_oid: .1.3.6.1.4.1.161.19.3.6.3.1.1.4.
|
|
index: cmm4PortPowerStatus.{{ $index }}
|
|
descr: Power Status {{ $index }}
|
|
states:
|
|
- { value: -1, generic: 1, graph: 1, descr: POE Fault }
|
|
- { value: 0, generic: 2, graph: 1, descr: Power Off }
|
|
- { value: 1, generic: 0, graph: 1, descr: Power On } |