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

Disk space monitoring issues #63

@guillomovitch

Description

@guillomovitch

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions