nextcloud / serverinfo

📊 A monitoring app which creates a server info dashboard for admins
GNU Affero General Public License v3.0
94 stars 61 forks source link

Disks filtering by mount points from a configurable parameter #572

Open proxyconcept opened 5 months ago

proxyconcept commented 5 months ago

Here is my latest version from #426

Use a new system config variable serverinfo_disk_filter_paths that can contains a list of paths (actually a simple string with : as delimiter). If defined, only disks with a corresponding mount point are shown.

The paths list can contains special name (DOCROOT, DATADIR, TMPDIR and LOGSDIR) which are automatically converted (example: "serverinfo_disk_filter_paths" => "DATADIR:/var/log").

It works perfectly for my needs, I usually configure my Nextcloud instances with : occ config:system:set --value="DATADIR" -- serverinfo_disk_filter_paths

github-actions[bot] commented 5 months ago

Hello there, Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!