AlmaLinux 9.1 ; Logwatch , DiCe , Disk Usage Check Script
1. Logwatch①Install# dnf install logwatch②Edit configuration file2. DiCEWhenever the global IP changes, which happens when the network is disconnected or the router is disconnected and rebooted, the dynamic DNS must be accessed to inform the user that the global IP has changed. DiCE does this automatically!3.Introduce disk usage check script3.1 Script Creation# cd /var/www/system# vi disk_capacity_check.sh