template: disk_fill_rate
on: disk.space
lookup: max -1s at -30m unaligned of avail
- calc: ($this - $avail) / ($now - $after)
+ calc: ($this - $avail) / (($now - $after) / 60)
every: 15s
- units: MB/s
+ units: GB/min
info: average rate the disk fills up (positive), or frees up (negative) space, for the last 30 minutes
template: disk_full_after_hours
on: disk.space
- calc: $avail / $disk_fill_rate / 3600
+ calc: $avail / ($disk_fill_rate * 60)
every: 10s
warn: $this > 0 and $this < 48
crit: $this > 0 and $this < 24