alpine-overlay/kubezero/zdt-base/monitd.conf

7 lines
237 B
Plaintext
Raw Normal View History

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"
if space usage > 90% then exec "/usr/bin/monit_alert.sh warning"