| ▲ | coredog64 19 hours ago | |
You don't want an alarm on a usage threshold, you want a linear regression that predicts when utilization will cross a threshold. Then you set your alarms for "How long does it take me to remediate this condition?" | ||
| ▲ | dotancohen 4 hours ago | parent [-] | |
That's far more complicated and fragile. Where are you storing this log of disk usage? If you already have some external time series database then this is already a solved problem. But for a single server, desktop, or embedded device you'll need a database or text log, a cron job to measure it, and another script to parse, make predictions, and then raise alerts. And a single large dump to disk, like some daemon suddenly bugging out and writing incessantly to logs, will render all that moot anyway. | ||