AlmaLinux 9.1 ; Logwatch , DiCe , Disk Usage Check Script
1. Logwatch
①Install
# dnf install logwatch
②Edit configuration file
2. DiCE
Whenever 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 script
3.1 Script Creation
# cd /var/www/system
# vi disk_capacity_check.sh