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

7 lines
237 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"