2025-01-06 17:26:58 +00:00
|
|
|
# Basic rootfs check
|
|
|
|
# >80%: emergency logrotate
|
|
|
|
# >90%: warning
|
|
|
|
check filesystem rootfs with path /
|
|
|
|
if space usage > 80% then exec "/etc/periodic/daily/logrotate"
|
2025-02-05 12:31:25 +00:00
|
|
|
if space usage > 90% then exec "/usr/bin/monit_alert.sh warning" else if succeeded then exec "/usr/bin/monit_alert.sh success"
|