AA-2893: Implement Alert mechanism using Postfix
Review Request #896 — Created June 3, 2025 and submitted — Latest diff uploaded
| Information | |
|---|---|
| apoorva.sn | |
| AMP | |
| amp_4_0 | |
| AA-2893 | |
| Reviewers | |
| pmurugaiyan, prajesh, shuinvy | |
Problem
Implement Alert mechanism using Postfix
Solution
Have written 2 scripts:
install_postfix.sh- Installed postfix, snail and related dependencies and creating cron for executing send_alert_cpu_memory_stats.sh
send_alert_cpu_memory_stats.sh- checks the system config every few min(30min) and sends mail with the configuration details of the system.
The mail format and what need to be sent can be improvised later depending for which scenario to send the mail and also the frequency
Tested changes on my Rocky Linux setup
