Click here for "Safe Air Conditioner Repair and Proper Freon Recovery".(Japanese Version)

Fedora38 ; Logwatch , Disk Usage Check Script

Logwatch

①Install

②Edit configuration file

Output Logwatch reports

It will appear as follows

Test to see if the report arrives at the address you set. Check if you receive a log report email like the one above.

Introduce disk usage check script

1 Script Creation

Contents of disk_capacity_check.sh

2 Execution Confirmation

①Check current usage rates

It appears as follows

②Create a dummy file to achieve at least 80% utilization

➂Run check scripts

You will receive an email to the email address you have set up, stating something like "Disk usage alert: 84%".

④Delete "dummyfile"

⑤Periodic Execution Setting

Copied title and URL