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

Allow filtering of Health sensor discovery #10485

Merged
merged 3 commits into from
Aug 8, 2019

Conversation

PipoCanaja
Copy link
Contributor

Some LibreNMS users might not want to discover all the supported sensors for an OS. But it is not possible to change the YAML file (prevents upgrades).
This PR allows filtering to occur during the discovery process, from config.php, using the same principles than other filtering already implemented in LibreNMS

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.

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.

Copy link
Member

@murrant murrant left a comment

Choose a reason for hiding this comment

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

Looks good

@murrant murrant merged commit 9dfae2f into librenms:master Aug 8, 2019
@murrant
Copy link
Member

murrant commented Sep 3, 2019

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

https://community.librenms.org/t/v1-55-release-changelog-august-2019/9428/1

@lock lock bot locked as resolved and limited conversation to collaborators Nov 2, 2019
@PipoCanaja PipoCanaja deleted the limitSensorDiscovery branch March 17, 2020 11:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants