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

[Feature Request] How about adding support for Disk Usage #2

Closed
i-break-codes opened this issue Mar 11, 2020 · 4 comments
Closed

[Feature Request] How about adding support for Disk Usage #2

i-break-codes opened this issue Mar 11, 2020 · 4 comments

Comments

@i-break-codes
Copy link

I was thinking it would be great if you add support for monitoring disk usage. If it hits < N GB, it will raise alerts.

@lfortin
Copy link
Owner

lfortin commented Mar 15, 2020

Thanks @i-break-codes for opening this feature request.

The module os-monitor was originally meant to be used along with the os core module in Node.js . However, I will keep this issue opened for future reference. I may consider adding free disk space checking in the future.

Meanwhile, here are a few modules you may use to monitor free disk space:

https://www.npmjs.com/package/node-df
https://www.npmjs.com/package/check-disk-space

@lfortin
Copy link
Owner

lfortin commented May 6, 2020

@i-break-codes

I found a related pending PR in the Node.js project:
nodejs/node#31351

If it is merged into Node.js core, I will consider adding support for disk usage monitoring into os-monitor.

@i-break-codes
Copy link
Author

Hey, thanks for the update. Am already using another tools but I thought to suggest you this as it will help you complete your package in a way as it's relevant.

Also, glad to hear that you will consider adding the support going forward. Looking forward to it 🙂

@lfortin
Copy link
Owner

lfortin commented Mar 27, 2023

Support for disk usage added.

@lfortin lfortin closed this as completed Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants