How to disable service alerts in DirectAdmin

Sometimes people would like to disable service warning alerts. There is an option in DirectAdmin at Home >> Administrator Settings >> ” Notify all admins whenever a service goes down using the messaging/ticket system”. But that will disable all alerts and if you want to disbale alerts for a specific server do the following steps

1. Login via SSH as root user and open /usr/local/directadmin/data/admin/services.status

2. Change the status of respective service to “OFF” from “ON”

For eg: To disable HTTP alert, put httpd=OFF to that file.

3. Restart DirectAdmin

/etc/init.d/directadmin restart

You are done!

Facebook Comments