Library / Monitoring, Ops & Incidents
Monitoring, Ops & Incidents
Clean Server Logs over SSH on Disk Alert Emails
When a disk alert email arrives by IMAP, it extracts the server IP and runs log cleanup commands over SSH.
What it does
Parses the email body to extract the target server's IP address.
The steps
- Check Disk Alert Emails
- Extract Server IP from Email
- Prepare SSH Variables
- Run Log Cleanup Commands via SSH
Similar automations
Monitoring, Ops & IncidentsEmail Server RAM, Disk and CPU Alerts Over SSH16 stepsMonitoring, Ops & IncidentsEmail Daily Server Package Update Reports over SSH14 stepsMonitoring, Ops & IncidentsCheck VPS CPU, RAM and Disk Every 15 Minutes7 stepsCode, Git & Developer ToolsClean Up Old Docker Image Tags over SSH50 steps