PaloAltoNetworks / minemeld

Main MineMeld documentation repo
380 stars 64 forks source link

Disk space monitoring issues #63

Open guillomovitch opened 3 years ago

guillomovitch commented 3 years ago

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[bot] commented 3 years ago

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