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

Filesystem full alarm for additional disks #7166

Open
DavidePrincipi opened this issue Nov 20, 2024 · 2 comments
Open

Filesystem full alarm for additional disks #7166

DavidePrincipi opened this issue Nov 20, 2024 · 2 comments
Labels
testing Packages are available from testing repositories

Comments

@DavidePrincipi
Copy link
Member

Monitor filesystem free space also for custom disks. Currently only root and boot are checked.

Discussion https://mattermost.nethesis.it/nethesis/pl/a81o8hg4rid87kfztesykrk8aw

@DavidePrincipi DavidePrincipi converted this from a draft issue Nov 20, 2024
@gsanchietti gsanchietti moved this from Backlog to In Progress in NethServer Feb 25, 2025
@gsanchietti gsanchietti self-assigned this Feb 25, 2025
@gsanchietti
Copy link
Member

gsanchietti commented Feb 25, 2025

The new monitor system uses node_exporter metrics to generate the alerts.
Before proceeding with QA of this issue, please make sure to have installed the latest version from #7162

Test case 1

  • Create a fake file to fill the /boot partition: dd if=/dev/zero of=/boot/test bs=1M count=730
  • Verify an alert is raised for /boot
  • Repeat the test for other filesystems
  • Verify the alert is raised for all other filesystems

Example of alert inside journal:

ALERT CRITICAL disk:full:1

@DavidePrincipi
Copy link
Member Author

In testing core 3.5.0-dev.5

@DavidePrincipi DavidePrincipi added the testing Packages are available from testing repositories label Feb 27, 2025
@DavidePrincipi DavidePrincipi added this to the NethServer 8.4 milestone Feb 27, 2025
@nethbot nethbot moved this from In Progress to Testing in NethServer Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Packages are available from testing repositories
Projects
Status: Testing
Development

No branches or pull requests

2 participants