Skip to content
This repository has been archived by the owner on Mar 16, 2023. It is now read-only.

Disk space monitoring issues #63

Open
guillomovitch opened this issue Jul 21, 2021 · 1 comment
Open

Disk space monitoring issues #63

guillomovitch opened this issue Jul 21, 2021 · 1 comment
Labels

Comments

@guillomovitch
Copy link

Disk space monitoring assume than log files are stored on the same partition as the code itself, given this code in minemeld/traced/writer.py file:
perc_used = psutil.disk_usage('.').percent
If logs are stored on a distinct partition, this test is just useless.

Moreover, whereas the treshold is actuallly configurable, via a 'treshold' directive traced.yml configuration file, the 70% value is actually hardcoded in the UI, given this code in src/app/system/dashboard.view.html file:
<div ng-if="vm.system.disk >= 70" class="row m-t-xs">

Even with a treshold set to 100 to disable the test, the error message will still appears.

@welcome-to-palo-alto-networks

🎉 Thanks for opening your first issue here! Welcome to the community!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant