Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed Packetlight EDFA sensors and add test-data #13060

Merged
merged 1 commit into from Jul 19, 2021

Conversation

opalivan
Copy link
Contributor

user_func: '\LibreNMS\OS\Packetlight::offsetSfpDbm' is not necessary for the EDFA, because it is already provided as dBm. This PR fixes it and provides test-data for regression tests.

DO NOT DELETE THE UNDERLYING TEXT

Please note

Please read this information carefully. You can run ./lnms dev:check to check your code before submitting.

  • Have you followed our code guidelines?
  • If my Pull Request does some changes/fixes/enhancements in the WebUI, I have inserted a screenshot of it.

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.

@PipoCanaja PipoCanaja added the Device 🖥️ New or added device support label Jul 19, 2021
@PipoCanaja PipoCanaja changed the title Fix wrong userfunc and add test-data for this device Fixed Packetlight EDFA sensors and add test-data Jul 19, 2021
Copy link
Contributor

@PipoCanaja PipoCanaja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@PipoCanaja PipoCanaja merged commit 0edf5da into librenms:master Jul 19, 2021
@opalivan opalivan deleted the pl_offsetSfpDbm branch July 19, 2021 21:30
@librenms-bot
Copy link

This pull request has been mentioned on LibreNMS Community. There might be relevant details there:

https://community.librenms.org/t/21-8-0-changelog/16685/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 🕷️ Device 🖥️ New or added device support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants