Is there a function to notify me by email when a service such as Apache, PHP, DB, etc. is interrupted?
Is there a way to notify me by email when a service is interrupted?
- Best Answerset by aaP_master0
aaP_master0
yes, here's the steps:
- go to settings menu
- go to alarm section
- go to alarm setting section in the alarm section
- you can modify the email and add the email configuration. if you wish to use your own smtp server in your same aapanel mail server then you can fill the form, that's same if you want to use yahoo or gmail or etc. but i believe gmail or yahoo have their security method such as app password, etc.
- after add your email, go to alarm list section, then you can add task -> task type -> service stop alert -> then you can choose nginx, or mysql, or php-fpm, etc. remember you just can add 1 alarm per task. for example if you wish to add mysql and nginx stop service, you must create 2 task, 1 for nginx and 1 for mysql.
- after finished, you can try to stop your nginx manually and see if you received the alarm email.
it's same logic with apache, etc.
6 days later
ajicakrayuda Thank you for your kind reply
where is the alarm list section?