Maybe display a warning popup after login when disk space gets low
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
- [x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
- [x] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue
Is your feature request related to a problem? Please describe.
Occasionally people write in the forum that their dashboard is not working. Often the case is their filesystem has reached 100% usage.
Describe the solution you like
Maybe there could be some kind of warning or a popup that happens after user log-in that warns the user about low diskspace (e.G. below 10% or 5%) so they know that something is up.
Describe alternatives you considered
-
The dashboard already shows the "Disk usage" in the "System Information" Widget, so one could argue that it's already pretty clear that the disk is getting full when it does.
-
One could also argue that external monitoring with SNMP could be used to prevent this from happening.
-
Additionally, there are tools like Monit which could already do this just fine with E-Mail notifications.
-
Though there are a lot of home users of OPNsense who might not have this on the radar as much.
Additional context
https://forum.opnsense.org/index.php?topic=39020.0
- I've read it a few more times in the past but I can't find those threads right now.
A banner would help maybe, Buzzer can really only complain about root size depletion. If users overflow e.g. /var/log mounted somewhere else itβs going to be an endless game of trying to help with a warning and annoying with constant warnings. π
Maybe this could also be solved in a different way.
/ filling up to 100% has to be avoided.
zroot/var/log is almost always the offender of a full disk.
Maybe a quota with zfs can be set on this partition so it's not allowed to use the full disk space available.
with zfs you can configure a quota indeed, with ufs that's not an option. In the long run we might want to offer some more zfs options via the gui, it's just not high enough on the priority list at the moment.
Maybe this can be solved in the new dashboard by turning the whole Storage space widget red when space is low?
I actually remember something.. the live system banner is gone since the old dashboard was removed. We need some type of banner back anyway...
could also extend the "system status" to do a forced popup in some conditions.
It all depends on the user having the widget on the dashboard π
Looks like https://github.com/opnsense/core/commit/9e660d360 :)