7 lines
299 B
Plaintext
7 lines
299 B
Plaintext
# Basic rootfs check
|
|
# >80%: emergency logrotate
|
|
# >90%: warning
|
|
check filesystem rootfs with path /
|
|
if space usage > 80% then exec "/etc/periodic/daily/logrotate"
|
|
if space usage > 90% then exec "/usr/bin/monit_alert.sh warning" else if succeeded then exec "/usr/bin/monit_alert.sh success"
|